1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-24 13:52:55 +03:00

wayland: remove a debug print

This commit is contained in:
Wez Furlong 2020-02-26 23:20:16 -08:00
parent ab03147bd9
commit 8cd029ae63

View File

@ -260,11 +260,11 @@ impl WaylandWindowInner {
pub(crate) fn handle_keyboard_event(&mut self, evt: KeyboardEvent) { pub(crate) fn handle_keyboard_event(&mut self, evt: KeyboardEvent) {
match evt { match evt {
KeyboardEvent::Key { KeyboardEvent::Key {
rawkey,
keysym, keysym,
is_down, is_down,
utf8, utf8,
serial, serial,
..
} => { } => {
self.copy_and_paste self.copy_and_paste
.lock() .lock()
@ -278,10 +278,7 @@ impl WaylandWindowInner {
Some(text) => (KeyCode::Composed(text), raw_key), Some(text) => (KeyCode::Composed(text), raw_key),
None => match raw_key { None => match raw_key {
Some(key) => (key, None), Some(key) => (key, None),
None => { None => return,
println!("no mapping for keysym {:x} and rawkey {:x}", keysym, rawkey);
return;
}
}, },
}; };
// Avoid redundant key == raw_key // Avoid redundant key == raw_key