You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Kitty keyboard protocol: CSI > u with omitted flags fails to set flags to 0 #4333
NOTE: Description written with LLM assistance. Bug found by human frustration :)
2. Issues with the Zellij UI / behavior / crash
Issue description
Zellij fails to implement the push operation for the Kitty keyboard protocol's progressive enhancement stack, specifically the CSI > u sequence. When flags are omitted in the push sequence, Zellij does not default to 0 as required by the protocol. Moreover, omitted flags still cause the progressive enhancements to be enabled.
Pop operations (CSI < u) function correctly, so a pop is required to recover from a push with no flags.
Start Zellij with Kitty keyboard protocol support enabled in a host terminal that supports it.
In a pane, send the CSI > u sequence to the terminal, e.g. via printf "\e[>u" from a shell.
Query the current flags with CSI ? u, e.g. printf "\e[?u" from a shell, and observe the printed value.
Expected
Flags are set to 0.
Actual
Flags are set to 1.
Other relevant information
The behaviour of push with omitted flags is equivalent to push with flags. Protocol details from Kitty documentation state that push should handle omitted flags as 0.
Activity