Enable raw keyboard input

In order for applications to receive all keyboard inputs, including the
Ctrl-C and Ctrl-Z, the raw input mode has been enabled. As result the
SIGINT will no longer be used, instead the keyboard Ctrl-C event is used
for exiting the framework, but only if no components has made use of it.
This commit is contained in:
Jørn Gustav Larsen
2024-03-25 10:14:53 +01:00
committed by ArthurSonzogni
parent 7e3e1d4bca
commit 0397a47c46
8 changed files with 466 additions and 137 deletions

View File

@@ -16,6 +16,8 @@ struct Mouse {
None = 3,
WheelUp = 4,
WheelDown = 5,
WheelLeft = 6, /// Supported terminal only.
WheelRight = 7, /// Supported terminal only.
};
enum Motion {