prompt-toolkit / prompt-toolkit/python-prompt-toolkit

operate-and-get-next example does not work

Open
#1,936 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
10.6k
Forks
815
PR merge metrics
No merged PRs in 30d

Description

  1. Execute this script https://github.com/prompt-toolkit/python-prompt-toolkit/blob/master/examples/prompts/operate-and-get-next.py
  2. Press a, Enter, b, Enter, Up, Up
  3. Observe that a is displayed
  4. Press Ctrl+O
  5. b should be displayed but it isn’t

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.