Feature request: "Copy selection or send control-C" keybinding like in iTerm2
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 7.5k
- Forks
- 353
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 15
Description
iTerm2 allows you to bind a key to "Copy selection or send ^C", i.e. copy the current selection, or if nothing is selected, instead send control-C to the current application (i.e. to SIGINT it). It would be great if such a command were added and could be bound (e.g. to control-C).
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating Rio's keybinding, selection, and terminal input-handling entry points; the issue does not name specific files or tests. Trace how a configured key is dispatched, then verify that the requested binding copies an existing selection or sends control-C when there is none, with both cases covered by the relevant tests or manual terminal checks.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, desktop
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100