If I remember correctly, and without access to a machine to test this on, there are spurious key events registered when the dashboard is run on windows. According to this:
[You] might use the following code for sending key presses:
CrosstermEvent::Key(e) => tx.send(Event::Key(e)),
However, on Windows, when using Crossterm, this will send the same Event::Key(e) twice; one for when you press the key, i.e. KeyEventKind::Press and one for when you release the key, i.e. KeyEventKind::Release. On MacOS and Linux only KeyEventKind::Press kinds of key event is generated.
To make the code work as expected across all platforms, you can do this instead:
If I remember correctly, and without access to a machine to test this on, there are spurious key events registered when the dashboard is run on windows. According to this:
This might help alleviate the issue.