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
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.kindof a event isKeyEventKind::Press