vt: Xterm modifyOtherKeys can't be detected #13331
Unanswered
aymanbagabas
asked this question in
Issue Triage
Replies: 1 comment 1 reply
-
|
Just a word of warning. It's preferable to report And at the very least, I'd encourage you to support the |
Beta Was this translation helpful? Give feedback.
1 reply
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
Ghostty supports Xterm modifyOtherKeys mode 1 out-of-box and always on and mode 2 after enabling it. However, there's no way to query and or detect support for this.
CSI ? 4 mdoesn't report the current active mode. Mode 1 is always active and cannot be disabled (separate issue if we want that to be controlled). Since Ghostty supports modifyOtherKeys, it should report the current active mode viaCSI ? 4 m.Expected Behavior
Respond to
CSI ? 4 mwith eitherCSI > 4 ; 1 m(default) orCSI > 4 ; 2 mwhen mode 2 is active.Actual Behavior
Ghostty doesn't respond to modifyOtherKeys queries
CSI ? 4 mReproduction Steps
cat | printf '\x1b[?4mcat -eand type shift+enter to see Ghostty supports mode 1 by defaultprintf '\x1b[>4;2m' && cat -eand type any key to see Ghostty supports mode 2 after enabling itGhostty Logs
No response
Ghostty Version
OS Version Information
macOS Tahoe 26.5.2
(Linux only) Display Server
None
(Linux only) Desktop Environment/Window Manager
No response
Minimal Ghostty Configuration
Additional Relevant Configuration
No response
I acknowledge that:
```) on separate lines.Beta Was this translation helpful? Give feedback.
All reactions