mirror of
https://github.com/wez/wezterm.git
synced 2024-12-23 13:21:38 +03:00
suppress keypress debug prints
This commit is contained in:
parent
1cc180b813
commit
5cdb5149c3
@ -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)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user