This repository has been archived by the owner on Oct 8, 2022. It is now read-only.
Replies: 1 comment
-
Unittests would be have to be written per OS, since |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
On Windows, a keyboard event can be in two states. Either "was pressed" or "was released". On POSIX however, a keyboard even is always pressed. There is no "key released" event emitted, only a "key pressed" event. This means that you cannot write a cross-platform terminal application which relies on key releases.
Should the
struct KeyboardEvent
instead be:Beta Was this translation helpful? Give feedback.
All reactions