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

This commit is contained in:
Aram Drevekenin 2024-06-21 16:19:23 +02:00 committed by GitHub
parent 048086de68
commit 5aed8daa9f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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