Kitty keyboard protocol enabled even if not requested by the application #11680
Unanswered
jjjordan
asked this question in
Issue Triage
Replies: 1 comment 2 replies
|
I think that's just CSIu, which is our default legacy encoding mechanism: https://www.leonerd.org.uk/hacks/fixterms/ |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Issue Description
When using Ghostty locally on my Mac and starting the JOE text editor, pressing some sequences such as Ctrl-M and Ctrl-I generate Kitty Keyboard Protocol sequences despite the application not subscribing to such events. I have tried to eliminate other things that may be setting this flag in the terminal session (ohmyzsh) but even with an absolute bare-bones setup, these sequences are still generated.
This interferes with common command sequences (^K ^I, ^K ^M etc). Other control keys, as far as I can tell, are unaffected.


Expected Behavior
Pressing ^I is a synonym for tab, ^M is a synonym for enter. ^K ^I should do some window manipulation and ^K ^M is the move block command. This works on the same set up with iTerm and iTerm2.
Actual Behavior
Typing these keys inserts partial kitty keyboard protocol sequences into the document instead, e.g.
9;5u(the prefix of this may be recognized as something else). When using quote mode (invoked by ^Q) and then pressing ^I or ^M, you will see the whole sequence inserted e.g.[[105;5u.Reproduction Steps
Open Ghostty with default config on a Mac.
Run JOE and press Control-I
Ghostty Logs
No response
Ghostty Version
OS Version Information
Sequoia 15.7.4 (24G517)
(Linux only) Display Server
None
(Linux only) Desktop Environment/Window Manager
No response
Minimal Ghostty Configuration
Additional Relevant Configuration
This happens on all versions from at least 3.8 through current main. You can install this from brew.
I acknowledge that:
```) on separate lines.All reactions