fix: only send "space" to the focused pane
This commit is contained in:
parent
f62abcea4e
commit
1428345cad
1 changed files with 1 additions and 1 deletions
|
|
@ -1030,7 +1030,7 @@ where
|
||||||
modifiers,
|
modifiers,
|
||||||
key,
|
key,
|
||||||
..
|
..
|
||||||
}) if *key == Key::Character(SmolStr::new(" ")) => {
|
}) if state.is_focused && *key == Key::Character(SmolStr::new(" ")) => {
|
||||||
//Special handle Enter, Escape, Backspace and Tab as described in
|
//Special handle Enter, Escape, Backspace and Tab as described in
|
||||||
//https://sw.kovidgoyal.net/kitty/keyboard-protocol/#legacy-key-event-encoding
|
//https://sw.kovidgoyal.net/kitty/keyboard-protocol/#legacy-key-event-encoding
|
||||||
//Also special handle Ctrl-_ to behave like xterm
|
//Also special handle Ctrl-_ to behave like xterm
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue