prompt overwrites text line if no newline is found
Open
Nobody has claimed this yet.
A-Display
bug
- Dominant language
- Rust
- Stars
- 818
- Forks
- 249
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 30
Description
Platform Windows 11
Terminal software Windows Terminal
Describe the problem you are observing.
When the steps are followed below, you see the text initially appear on the screen and then the prompt overwrites the last line.
Steps to reproduce (from within nushell)
touch anotepad a- type some text, hit enter, type some more text and DO NOT hit enter (this is key, the last line must not have a crlf)
cat aortype ashows both lines of text, and then when the prompt is drawn, it overwrites the last line
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
Reproduce the issue on Windows 11 in Windows Terminal from within nushell using the listed touch, notepad, and cat or type steps. Start by tracing how reedline redraws the prompt after output without a final CRLF; done means the final text line remains visible when the prompt is drawn.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100