Repository navigation
T27 OS chat input: clipboard and every macOS editing key (Closes #11454) - #11455
Merged
Merged
Conversation
gHashTag
enabled auto-merge (squash)
October 20, 2026 17:43
…eted paste, and the full keys-to-bytes table with a test per key (Closes #11454) Owner 2026-10-21: keys, copy and paste did not work in the chat input. - term_input.t27 (new, 23 tests): tk_key_bytes is the one keys table (arrows CSI/SS3 by DECCKM, Option+Left/Right ESC b/f, Cmd+Left/Right 0x01/0x05, Option+Backspace ESC DEL, Cmd+Backspace 0x15, forward Delete, Home/End/PgUp/PgDn, Tab, Shift+Tab ESC [ Z, Esc, Enter, Shift/Option+Enter ESC CR, Ctrl+letters also on non-Latin layouts, F1..F12, modifier parameters); tk_cmd_route keeps the window's Cmd shortcuts (T W F K + - , 1..9) out of the PTY; ti_paste wraps in ESC[200~ .. ESC[201~ when bracketed paste is on, else raw with CR line ends; ti_sel_text copies plain rows, trailing spaces trimmed, joined by LF; menu and pointer geometry. - vt.t27 (26 tests): DECSET 2004 tracked; mouse selection over history ++ grid lines (click, drag, double-click word, triple-click line, shift-extend, select all), stable while rows scroll into the ring, cleared by the alternate screen. - term_pane.t27: tp_key_bytes removed (moved to term_input). - glass_window.t27: thin glue only (NSPasteboard copy/paste, clickCount, right-click menu drawn in matte glass, selection wash, paste chunked to the PTY). Tests (t27b): vt 26, term_input 23, term_pane 20, glass_window 52; seals regenerated for vt, term_pane, term_input. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
gHashTag
force-pushed
the
claude/t27os-chat-keys
branch
from
October 20, 2026 18:09
654faa2 to
f19e095
Compare
Contributor
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.
Closes #11454. Part of epic #11449: keys-to-bytes table (term_input.t27, a test per key), bracketed paste and selection across history (vt.t27), Cmd+C/V/A and a right-click Copy/Paste/Select All.
Generated with Claude Code (https://claude.com/claude-code)