Closed 0Ky closed 1 year ago
On Windows, a single keypress is mistakenly detected twice: once on KeyDown and again on KeyUp. This issue stems from crossterm, you will need to check the KeyEventKind:
crossterm
KeyEventKind
if let Event::Key(key) = event { if key.kind == KeyEventKind::Press { ... } }
Let's keep this as separate issue, but also added it as part of #37
On Windows, a single keypress is mistakenly detected twice: once on KeyDown and again on KeyUp. This issue stems from
crossterm
, you will need to check theKeyEventKind
: