Skip to content

fix(renderer): always clear bottom line on close - #1870

Open
allddd wants to merge 1 commit into
charmbracelet:mainfrom
allddd:fix/clear-bottom-line-on-close
Open

allddd wants to merge 1 commit into
charmbracelet:mainfrom
allddd:fix/clear-bottom-line-on-close

Conversation

@allddd

@allddd allddd commented Oct 15, 2026

Copy link
Copy Markdown

we only cleared the bottom line in inline mode, but terminals in alt screen mode keep the last frame on screen and the shell prompt ends up next to its leftovers, so we clear the line in both modes now

fixes #1869

  • I have read CONTRIBUTING.md.
  • I have created a discussion that was approved by a maintainer (for new features).

we only cleared the bottom line in inline mode, but terminals in
alt screen mode keep the last frame on screen and the shell prompt
ends up next to its leftovers, so we clear the line in both modes
now

fixes charmbracelet#1869
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v2: leftovers next to the prompt on exit when alt screen isn't supported

2 participants