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

clarify debug_key_events logging

up/down events were ambiguous
This commit is contained in:
Wez Furlong 2022-01-14 21:59:29 -07:00
parent 91f8a341dd
commit 12de21df95

View File

@ -350,7 +350,12 @@ impl super::TermWindow {
}
if self.config.debug_key_events {
log::info!("send to pane key={:?} mods={:?}", key, modifiers);
log::info!(
"send to pane {} key={:?} mods={:?}",
if window_key.key_is_down { "DOWN" } else { "UP" },
key,
modifiers
);
}
let res = if let Some(encoded) = self.encode_win32_input(&pane, &window_key) {