Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendering glitches when terminal height changed #528

Open
rgwood opened this issue Jan 9, 2023 · 0 comments
Open

Rendering glitches when terminal height changed #528

rgwood opened this issue Jan 9, 2023 · 0 comments
Labels
A-Display Area: Correctness of the display output and additional features needed there bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed

Comments

@rgwood
Copy link
Contributor

rgwood commented Jan 9, 2023

I've noticed a rendering glitch in the demo example (cargo run --example demo) when the terminal is resized. Detailed reproduction:

1. Press ctrl+l to clear the screen:

image

2. Press enter:

image

3. Make the window 1 row taller (dragging from the bottom):
image

Note that our text has all moved up by 1 row, which doesn't seem right.

4. Press a:
image

Note that the cursor is not on the same line as a.

5. Press b:
image

The line with ab looks good but the row with only a shouldn't be there.

Version info

Terminal: Windows Terminal Preview v1.16.3464.0
OS: Linux (in WSL2)
Reedline 3d83306

@rgwood rgwood added bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed labels Jan 9, 2023
@rgwood rgwood changed the title Rendering glitch when terminal height changed Rendering glitches when terminal height changed Jan 9, 2023
@sholderbach sholderbach added the A-Display Area: Correctness of the display output and additional features needed there label Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Display Area: Correctness of the display output and additional features needed there bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants