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

Repo to be listed in PROJECTS.rst and issue with arrow-keys .

Open
#1,447 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

Hello,
Repo to be listed in PROJECTS.rst:
Repo:Penta a command interpreter written in python. can be use as a replacement to cmd.
also i wanted to ask,since i needed TAB completion for my project(Penta),i needed the readline module and it wasn't available crossplatform.so i got my hands on python-prompt-toolkit and it's an excellent library.it solved my TAB completion problem BUT
now the arrow keys(UP/DOWN) are not working i.e before using the prompt-toolkit for my user input ,pressing UP/DOWN keys would bring previously used commands(like if i type cd and then help,pressing UP key would bring the cd command) BUT now whenever i press UP/DOWN keys ,nothing happens.
is there a workaround around this ,if any then any help is greatly appreciated
Thank you

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 by reading the Penta integration with prompt-toolkit and the PROJECTS.rst listing mentioned in the report. Reproduce the issue with TAB completion enabled, then inspect how prompt-toolkit handles UP/DOWN history keys. Done means the command history works again and the Penta repository is listed as requested.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, documentation
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.