fix(tui): skip Kitty query inside Zellij\n\nfixes #3163

This commit is contained in:
Mario Zechner
2026-04-15 18:43:14 +02:00
parent 9c1e6ef6d3
commit 3929e0c181
5 changed files with 98 additions and 0 deletions

View File

@@ -32,6 +32,12 @@ If you want `Shift+Enter` to keep working in tmux via that remap, add `ctrl+j` t
}
```
## Zellij
Pi detects Zellij automatically and skips the Kitty keyboard protocol query there.
Zellij currently forwards that query to the outer terminal but still sends Alt as legacy ESC-prefixed sequences, which can break Alt keybindings if applications enable Kitty mode.
Pi uses xterm `modifyOtherKeys` mode 2 inside Zellij instead, so no extra Zellij config is required.
## WezTerm
Create `~/.wezterm.lua`: