Don't add collateral sentinel key to input queue

This is for bracketed paste and focus reporting where we already add a proper
event to the queue.
This commit is contained in:
Johannes Altmanninger 2024-04-03 19:56:46 +02:00
parent 1baa893e60
commit 66c6e89f98

View file

@ -594,6 +594,9 @@ pub trait InputEventQueuer {
}
let mut seq = WString::new();
let mut key = key_with_escape;
if key == Some(Key::from_raw(key::Invalid)) {
continue;
}
let mut consumed = 0;
for i in 0..buffer.len() {
self.parse_codepoint(