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
When using kitty keyboard protocol encoding, Ghostty incorrectly sets the modifier bits. Per the specification:
When the key event is related to an actual modifier key, the corresponding modifier’s bit must be set to the modifier state including the effect for the current event.
I tested this on Alacritty, Foot, Kitty, and Ghostty. All except Ghostty have the same encoding for this keypress.
I suspect this is only on a GTK build under Wayland, due to how Wayland delivers modifier presses + modifier events.
When using kitty keyboard protocol encoding, Ghostty incorrectly sets the modifier bits. Per the specification:
I tested this on Alacritty, Foot, Kitty, and Ghostty. All except Ghostty have the same encoding for this keypress.
I suspect this is only on a GTK build under Wayland, due to how Wayland delivers modifier presses + modifier events.
Repro Steps
kitten show_key -m kitty
Expected Output
CSI 57442 ; 5 u
(press)CSI 57442; 1 : 3 u
(release)Actual Output
CSI 57442 u
(press)CSI 57442 ; 5 : 3 u
(release)Reference: kovidgoyal/kitty#6913 (comment)
The text was updated successfully, but these errors were encountered: