fix: renderer: erase the rest of the line when it's shorter than the width
Before adoption: this commit came in with the history the project adopted, so no landing records it.
When the cursor reaches the end of the line, any escape sequences that follow will only affect the last cell of the line. This is why we only erase the rest of the line when the line is shorter than the width of the terminal.
authored by Ayman Bagabas · committed by Ayman Bagabas · parent f4d1e0e · Browse files · 1 file+19 added−5 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Trailers
- Fixes: https://github.com/charmbracelet/bubbletea/issues/1225
- Fixes: 0cef3c7896a8 (feat(render): remove flickering)
Diff stats
1 file+19 added−5 removed
- other:+19 added−5 removed