Enable kitty keyboard protocol for Shift+Enter distinction#71
Open
nedtwigg wants to merge 5 commits into
Open
Conversation
In a stock xterm.js terminal, Shift+Enter and Enter both send `\r`, so TUIs like Claude Code can't bind them differently and both submit. Upgrading @xterm/xterm to a 6.1.0 beta and opting into `vtExtensions.kittyKeyboard` lets the terminal advertise the kitty keyboard protocol; when the inner program negotiates it, modified keys round-trip as distinct CSI u sequences. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Deploying mouseterm with
|
| Latest commit: |
33cf571
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://e5e191ce.mouseterm.pages.dev |
| Branch Preview URL: | https://kitty-keyboard.mouseterm.pages.dev |
Adds a Supported CSI section covering CSI > q (iTerm2 device attributes), DECSET/DECRST observation for mouse/bracketed-paste mode, kitty keyboard protocol, and replay-time CSI reply filtering. The escape-sequence registry now covers both OSC and CSI so the fail-inertly rule has a single home. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
vtExtensions.kittyKeyboardso Shift+Enter is distinguishable from Enter@xterm/xtermand@xterm/addon-fitto beta builds (6.1.0-beta.216 / 0.12.0-beta.216) that expose the optionTest plan
🤖 Generated with Claude Code