mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 14:21:16 +00:00
![]() Under these windowing systems, we receive a QString text from Qt that contains a terminal control character (like \u{3} for ctrl+c). We decided to supply the character for the key (for example 'c' for Ctrl+C) to the application, so activate the conversion from the key code when control characters are present. With winit, we receive first a key down input event with the virtual key code (for example C for Ctrl+C), followed by a ReceivedCharacter event with a terminal control character. We choose to ignore that and instead take the previously received key code and try to use that instead. Fixes #441 |
||
---|---|---|
.. | ||
fonts | ||
Cargo.toml | ||
event_loop.rs | ||
fonts.rs | ||
graphics_window.rs | ||
images.rs | ||
lib.rs | ||
svg.rs |