mirror of
https://github.com/ArthurSonzogni/FTXUI.git
synced 2025-09-28 16:29:34 +08:00
Enable raw keyboard input (#832)
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. Co-authored-by: Jørn Gustav Larsen <jgl@fasttracksoftware.com> Co-authored-by: ArthurSonzogni <sonzogniarthur@gmail.com>
This commit is contained in:

committed by
ArthurSonzogni

parent
9b6c4a7b4b
commit
5daedf79ad
@@ -828,7 +828,7 @@ void Canvas::DrawPixel(int x, int y, const Pixel& p) {
|
||||
}
|
||||
|
||||
/// @brief Draw a predefined image, with top-left corner at the given coordinate
|
||||
/// You can supply negative coordinates to align the image however you like -
|
||||
/// You can supply negative coordinates to align the image however you like -
|
||||
/// only the 'visible' portion will be drawn
|
||||
/// @param x the x coordinate corresponding to the top-left corner of the image.
|
||||
/// @param y the y coordinate corresponding to the top-left corner of the image.
|
||||
|
Reference in New Issue
Block a user