Skip to content

Theme preview doesn't return theme to normal when navigating command history #3620

Closed
@Omnikar

Description

@Omnikar

Summary

The theme preview when using :theme will keep the previewed theme if you switch away from the command using history navigation.

Reproduction Steps

  1. Enter any (not necessarily valid) command, that is not a :theme command, such as :abc<ret>.
  2. Type :theme and hover the completion over a theme other than the currently selected one, thus previewing it.
  3. Press the up arrow key, causing the command to switch to the one entered in step 1.
  4. Press <esc>, exiting the command prompt.

The previewed theme will persist after the command is switched away from using the up arrow key.

Helix log

Nothing relevant

Platform

MacOS

Terminal Emulator

iTerm2 v3.4.16

Helix Version

Helix 22.08

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-helix-termArea: Helix term improvementsC-bugCategory: This is a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions