prompt-toolkit / prompt-toolkit/python-prompt-toolkit
Feature request: inline button prompt
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 10.6k
- Forks
- 815
- PR merge metrics
- No merged PRs in 30d
Description
Basically I want to have a terminal output that prints one line at a time, and at the end of the line is a cancel button, which will run code. This library does not provide that. It only provides a full screen button prompt, which is significantly less useful for my purposes. I basically want the same thing as a regular hyperlink, except instead of going to a website, it runs code.
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
No files, tests, or entry points are named. Start by locating the existing full-screen button prompt and the terminal output rendering path, then determine whether inline clickable buttons are supported by the target terminals. Done means a documented inline cancel button can run code without switching to a full-screen prompt, with coverage for its terminal behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100