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:
parent
91f8a341dd
commit
12de21df95
@ -350,7 +350,12 @@ impl super::TermWindow {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if self.config.debug_key_events {
|
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) {
|
let res = if let Some(encoded) = self.encode_win32_input(&pane, &window_key) {
|
||||||
|
Loading…
Reference in New Issue
Block a user