diff options
author | Aram Drevekenin <aram@poor.dev> | 2024-06-21 16:19:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-21 16:19:23 +0200 |
commit | 5aed8daa9fcd07aa25e048e60ed40672b57d57aa (patch) | |
tree | fe9647e0cb6ff785f86ab9f6ebbe551e792ae409 | |
parent | 048086de68df6a242ce8e15d86e4a899a8589cee (diff) |
fix(mouse): mouse click translation to kitty keyboard programs (#3441)
-rw-r--r-- | zellij-server/src/panes/terminal_pane.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zellij-server/src/panes/terminal_pane.rs b/zellij-server/src/panes/terminal_pane.rs index 56c7735e7..3923b1d9c 100644 --- a/zellij-server/src/panes/terminal_pane.rs +++ b/zellij-server/src/panes/terminal_pane.rs @@ -900,7 +900,7 @@ impl TerminalPane { raw_input_bytes: Vec<u8>, raw_input_bytes_are_kitty: bool, ) -> Option<AdjustedInput> { - if raw_input_bytes_are_kitty { + if raw_input_bytes_are_kitty || key.is_none() { Some(AdjustedInput::WriteBytesToTerminal(raw_input_bytes)) } else { // here what happens is that the host terminal is operating in non "kitty keys" mode, but |