Skip to content

Windows: Keypress detected twice #13

@hrrs01

Description

@hrrs01

When using the program in both Windows Terminal, and in Wezterm, all keypresses are detected twice - Once on keydown, and once on keyup. This seems to be related to a change in crossterm when it migrated from version 0.26 -> 0.27.

Proposed fix:
Check that the event.kind of a event is KeyEventKind::Press

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions