fix(mouse): mouse click translation to kitty keyboard programs

This commit is contained in:
Aram Drevekenin 2024-06-21 15:29:30 +02:00
parent 048086de68
commit 4c6e1039d4

View File

@ -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