prompt-toolkit / prompt-toolkit/python-prompt-toolkit
Dynamic layout manipulation, add/remove container objects
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 10.6k
- Forks
- 815
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
Likely not easy to implement, but I think it would be great feature to be able to dynamically add/remove layout container objects, like one would split window in vim/nvim.
What is the best way at the moment?
I would like for instance to start from PromptSession and add new components to it.
Thanks,
Z
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 with PromptSession and the existing layout container APIs to understand how components are currently assembled. Check how a session represents its layout and what operations are available today, then define the expected behavior for dynamically adding and removing containers, including a vim/nvim-style split workflow. Done should include a clear, working way to modify the session layout at runtime.
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