1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-23 21:32:13 +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) {
match evt {
KeyboardEvent::Key {
rawkey,
keysym,
is_down,
utf8,
serial,
..
} => {
self.copy_and_paste
.lock()
@ -278,10 +278,7 @@ impl WaylandWindowInner {
Some(text) => (KeyCode::Composed(text), raw_key),
None => match raw_key {
Some(key) => (key, None),
None => {
println!("no mapping for keysym {:x} and rawkey {:x}", keysym, rawkey);
return;
}
None => return,
},
};
// Avoid redundant key == raw_key