prompt-toolkit / prompt-toolkit/python-prompt-toolkit
operate-and-get-next example does not work
Open
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 10.6k
- Forks
- 815
- PR merge metrics
- No merged PRs in 30d
Description
- Execute this script https://github.com/prompt-toolkit/python-prompt-toolkit/blob/master/examples/prompts/operate-and-get-next.py
- Press
a,Enter,b,Enter,Up,Up - Observe that
ais displayed - Press
Ctrl+O bshould be displayed but it isn’t
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 with examples/prompts/operate-and-get-next.py and reproduce the documented key sequence: enter a, b, move up twice, then press Ctrl+O. Trace why the next entry is not displayed; done means the example shows b after Ctrl+O and the behavior is covered by an appropriate regression test.
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
- Clearly specified
- Newbie friendliness
- 45/100