Skip to content

fix(mecatui): rebind copy-selection to ctrl+y - #1079

Open
jhrozek wants to merge 1 commit into
mainfrom
fix/mecatui-copy-selection-ctrl-y
Open

fix(mecatui): rebind copy-selection to ctrl+y#1079
jhrozek wants to merge 1 commit into
mainfrom
fix/mecatui-copy-selection-ctrl-y

Conversation

@jhrozek

@jhrozek jhrozek commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • `ctrl+shift+c` is unreachable in most terminals: classic Ctrl+ control-code encoding has no separate bit for Shift, so many terminals (and tmux) can't distinguish it from plain `ctrl+c` (Quit).
  • Rebind copy-selection to `ctrl+y` (yank, the classic terminal/vim copy mnemonic), a plain single-modifier chord every terminal can send.

Test plan

  • `go build ./cmd/mecatui/...`
  • `go test ./cmd/mecatui/...` (all packages pass)

Split out of `recon/session-mcp-auth-stack` (PR #1072) — unrelated to that branch's MCP broker work.

🤖 Generated with Claude Code

ctrl+shift+c is unreachable in most terminals: classic Ctrl+<letter>
control-code encoding has no separate bit for Shift, so many terminals
(and tmux) can't distinguish it from plain ctrl+c (Quit). Rebound to ctrl+y
(yank, the classic terminal/vim copy mnemonic), a plain single-modifier
chord every terminal can send.

Co-authored-by: mecatal <noreply@stacklok.com>
@jhrozek
jhrozek force-pushed the fix/mecatui-copy-selection-ctrl-y branch from eb1166d to 59897ef Compare September 6, 2026 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants