nushell / nushell/reedline

multiline paste doesn't render text when ending in newline

Open
#649 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.