Move prompt to the top/bottom of the terminal
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 818
- Forks
- 249
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 30
Description
Instead of repeating the prompt on every line, display the prompt only at the top/bottom of the terminal.
This is how it works now (the top/bottom lines denote terminal window boundary):
------------------------------------------------------------------------------------------------
~/git/extern/reedline 12/05/2021 12:48:28 AM
〉foo
Our buffer: foo
~/git/extern/reedline 12/05/2021 12:48:30 AM
〉bar
Our buffer: bar
~/git/extern/reedline 12/05/2021 12:48:33 AM
〉baz
Our buffer: baz
------------------------------------------------------------------------------------------------
This is what I suggest:
------------------------------------------------------------------------------------------------
〉foo
Our buffer: foo
〉bar
Our buffer: bar
〉baz
Our buffer: baz
~/git/extern/reedline 12/05/2021 12:48:33 AM
------------------------------------------------------------------------------------------------
Of course, this should be configurable.
Disadvantage of this is that you won't see the previous prompts so you cannot check e.g. what directory you were when running "foo". Whether this matters or not I think depends on personal preference.
Contributor guide
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
Review the issue discussion and the terminal prompt behavior in Reedline. Determine where prompt placement and its configuration are handled, then verify that prompts can be shown at the terminal top or bottom without repeating earlier prompts and that the choice is configurable.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100