fix(mouse): mouse click translation to kitty keyboard programs (#3441)
This commit is contained in:
parent
048086de68
commit
5aed8daa9f
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue