multiline paste doesn't render text when ending in newline
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 817
- Forks
- 247
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 30
Description
Platform macOS
Terminal software tried several (nu, iterm, bash, ...)
Describe the problem you are observing.
Steps to reproduce
It seems to only apply if the character sequence is 10 or more characters long.
this doesnt render
abcdefghij
but this does
abcdefghi
Screenshots/Screencaptures
https://github.com/nushell/reedline/assets/21327470/1d4bcf4c-eeb7-4c19-80dc-fae43f431b58
Note that it will render as soon as you add an additional character.
https://github.com/nushell/reedline/assets/21327470/99dd4770-1cd0-4f26-b3ee-60397292023e
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
Start by reproducing the multiline paste case described in the issue, comparing input of exactly ten characters with nine characters and checking behavior when the paste ends in a newline. Investigate the line-editor paste and rendering path. Done means the ten-character input ending in a newline renders correctly, while the existing shorter case remains working.
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
- 35/100