Cannot paste into REPL r-search
Open
Nobody has claimed this yet.
stdlib
topic-repl
type-bug
- Dominant language
- Python
- Stars
- 77.2k
- Forks
- 35.9k
- PR merge metrics
- PR metrics pending
Description
Bug report
Bug description:
When you paste into the REPL r-search, it accepts the current result and then adds [200. This seems like bracketed paste mode not being handled correctly.
I tested this on Ghostty and Terminal.app.
CPython versions tested on:
3.14
Operating systems tested on:
macOS
Linked PRs
- gh-145398
Contributor guide
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 reproducing the paste in the REPL r-search on macOS, using the reported Ghostty or Terminal.app setup, and trace the bracketed-paste handling there. Done means pasted input is accepted as a single paste without adding the literal [200 sequence; linked PR gh-145398 indicates work is already underway.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100