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

"Lightweight" dialogues similar to current prompts, i.e. not fullscreen

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

While I really like using this framework to build TUIs I think it lacks the interactive inputs it currently exposes as dialogues as prompt options.
For an idea of what I am talking about see cutie or pyinquirer.

One of the main reasons I see is that many people prefer the look of such lightweight solutions over big dialogues.
Layout is one part, coloring is the other - and I know manual styling exists but is only changes colors and does not preserve terminal styles nor is it able to change the layout.
Furthermore I think such functionality should be included in a prompt_toolkit.

It should also not be to hard as we should already have all the logic to create such prompts from the normal dialogues.

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

Review the existing dialogue and prompt implementations first, then compare their behavior with the lightweight interactions described in cutie and pyinquirer. The issue needs a defined API and concrete decisions about layout, terminal-style preservation, coloring, and which prompt options are covered before implementation can be considered done.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.