prompt-toolkit / prompt-toolkit/python-prompt-toolkit
suggestion about alternative input/output layout
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 10.6k
- Forks
- 815
- PR merge metrics
- No merged PRs in 30d
Description
In most examples, the REPL loop works in a single window. Each input is immediately
followed by the output of the concerned result. The prompt_toolkit may provide a way
in which the input and the output appear in different buffers. A typical approach may
follow the layout provided in the 'full-screen-layout' example. For instance on the left
pane, one may have the input while the buffer on the right one is updated with the
output of the last result. This may help for the design of board games.
I'm wondering whether it is possible to have a simple prompt loop on one window and the
output occurring in an other.
Thanks.
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 by reviewing the prompt_toolkit full-screen-layout example and the existing REPL loop. Determine whether the requested separate input and output buffers fit the library's current layout model, then define an example or API change that demonstrates the two-pane behavior. The issue does not specify files or acceptance criteria, so the expected result needs clarification first.
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