1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-23 21:32:13 +03:00

suppress keypress debug prints

This commit is contained in:
Wez Furlong 2018-02-01 00:26:01 -08:00
parent 1cc180b813
commit 5cdb5149c3

View File

@ -539,13 +539,13 @@ impl<'a> TerminalWindow<'a> {
pub fn key_down(&mut self, event: &xcb::KeyPressEvent) -> Result<(), Error> {
let (code, mods) = self.decode_key(event);
println!("Key pressed {:?} {:?}", code, mods);
// println!("Key pressed {:?} {:?}", code, mods);
self.terminal.key_down(code, mods, &mut self.pty)
}
pub fn key_up(&mut self, event: &xcb::KeyPressEvent) -> Result<(), Error> {
let (code, mods) = self.decode_key(event);
println!("Key released {:?} {:?}", code, mods);
// println!("Key released {:?} {:?}", code, mods);
self.terminal.key_up(code, mods, &mut self.pty)
}
}