mux: fixup debug level for tmux -CC control pane
No need to log an error for each key press
This commit is contained in:
1 file changed
+1
-1
@@ -395,7 +395,7 @@ impl Pane for LocalPane {
|
||||
fn key_down(&self, key: KeyCode, mods: KeyModifiers) -> Result<(), Error> {
|
||||
Mux::get().record_input_for_current_identity();
|
||||
if self.tmux_domain.lock().is_some() {
|
||||
log::error!("key: {:?}", key);
|
||||
log::trace!("key: {:?}", key);
|
||||
if key == KeyCode::Char('q') {
|
||||
self.terminal.lock().send_paste("detach\n")?;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user