Skip to content

tui: keep Super/Cmd apart from Ctrl so Super+C copies instead of quitting - #93

Merged
killpanda merged 1 commit into
mainfrom
claude/project-thread-1tyj3i
Nov 9, 2026
Merged

killpanda merged 1 commit into
mainfrom
claude/project-thread-1tyj3i

Conversation

@killpanda

Copy link
Copy Markdown
Owner

Requested by jack mini · project thread

Problem

Pressing Super+C to copy could interrupt the agent or quit Limbo, because some terminals deliver Super+C as a plain Ctrl+C. On terminals that do report Super (kitty protocol), Super chords fell through and typed the letter into the prompt.

Changes

  • Mods::of treats Super/Meta/Hyper as a separate "cmd" modifier: Ctrl shortcuts no longer match when it is held, and cmd chords never type into the prompt.
  • Super+C / Ctrl+Shift+C copy the mouse selection; Super+V / Ctrl+Shift+V paste.
  • Ctrl+C while text is selected copies the selection instead of interrupting or quitting, then clears it so the next Ctrl+C works as usual. This covers terminals that send Super+C as Ctrl+C.
  • README and docs/learning-rust.md key tables updated.

Testing

cargo test (129 passed, including new modifier tests), cargo clippy, cargo fmt --check clean.


Generated by Claude Code

…ting

Super/Meta/Hyper chords no longer match Ctrl shortcuts or type into the
prompt. Super+C and Ctrl+Shift+C copy the mouse selection, Super+V and
Ctrl+Shift+V paste, and a Ctrl+C while text is selected copies it rather
than interrupting or quitting (for terminals that send Super+C as Ctrl+C).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014BrrmUqHTvgjTqjw629LHY
@killpanda killpanda self-assigned this Nov 9, 2026
@graphify-labs

graphify-labs Bot commented Nov 9, 2026

Copy link
Copy Markdown

Graphify reviews are paused for this workspace because nobody has used it in 7 days. A workspace owner can resume reviews from the Repositories page: https://app.graphify.com/angus-lab/repositories

@killpanda
killpanda merged commit 5edc4b6 into main Nov 9, 2026
2 checks passed
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