nushell / nushell/reedline

[BUG] Shrinking the window may cause prompt position repainting issues

Open
#157 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-Display A-Events bug P-medium
Dominant language
Rust
Stars
818
Forks
249
Avg merge
4d 14h
Merged PRs (30d)
30

Description

Resizing the window vertically in a way that the current prompt position exceeds the new window height triggers the prompt repainting bug observed with #119 (in this case due to multiline wrapping)

Initial condition

image

keeping the entry buffer line within the resizing does not cause a problem
image

shrinking down one more line causes the problem
image

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

Reproduce the issue by creating a multiline-wrapped prompt and shrinking the terminal vertically until the current prompt position exceeds the new height. Compare the behavior with issue #119; done means the prompt repaints correctly after resizing without losing or misplacing its content.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.