mirror of
https://github.com/zellij-org/zellij.git
synced 2024-11-29 04:15:06 +03:00
fix(mouse): mouse click translation to kitty keyboard programs
This commit is contained in:
parent
048086de68
commit
4c6e1039d4
@ -900,7 +900,7 @@ impl TerminalPane {
|
|||||||
raw_input_bytes: Vec<u8>,
|
raw_input_bytes: Vec<u8>,
|
||||||
raw_input_bytes_are_kitty: bool,
|
raw_input_bytes_are_kitty: bool,
|
||||||
) -> Option<AdjustedInput> {
|
) -> Option<AdjustedInput> {
|
||||||
if raw_input_bytes_are_kitty {
|
if raw_input_bytes_are_kitty || key.is_none() {
|
||||||
Some(AdjustedInput::WriteBytesToTerminal(raw_input_bytes))
|
Some(AdjustedInput::WriteBytesToTerminal(raw_input_bytes))
|
||||||
} else {
|
} else {
|
||||||
// here what happens is that the host terminal is operating in non "kitty keys" mode, but
|
// here what happens is that the host terminal is operating in non "kitty keys" mode, but
|
||||||
|
Loading…
Reference in New Issue
Block a user