Skip to content

kitty keyboard protocol: AltGr+plus should produce a tilde, but produces a plus instead #2981

Open
@neurocyte

Description

@neurocyte

On Linux with the DE keyboard layout the AltGr modifier is interpreted differently in Ghostty to Kitty.

Here is kitty's interpretation:

ENTER RELEASE 
CSI 13 ; 1 : 3 u

ISO_LEVEL3_SHIFT PRESS 
CSI 57453 u

~ PRESS ~
CSI 126 :  : 93 ;  ; 126 u
Alternate key: ] 

~ RELEASE 
CSI 126 :  : 93 ; 1 : 3 u
Alternate key: ] 

ISO_LEVEL3_SHIFT RELEASE 
CSI 57453 ; 1 : 3 u

And here is Ghostty:

ENTER RELEASE
CSI 13 ; 1 : 3 u

RIGHT_ALT PRESS
CSI 57449 u

+ PRESS ~
CSI 43 ;  ; 126 u

+ RELEASE
CSI 43 ; 1 : 3 u

RIGHT_ALT RELEASE
CSI 57449 ; 1 : 3 u

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions