Skip to content

fix(tui): ensure cursor moves to end of content on exit to prevent overwriting/artifacts#629

Closed
tallshort wants to merge 1 commit intobadlogic:mainfrom
tallshort:fix/cursor-on-exit
Closed

fix(tui): ensure cursor moves to end of content on exit to prevent overwriting/artifacts#629
tallshort wants to merge 1 commit intobadlogic:mainfrom
tallshort:fix/cursor-on-exit

Conversation

@tallshort
Copy link
Copy Markdown
Contributor

before: ctrl+c twice to exit, the last context usage status line got overwritten.

 1+1=?


 Thinking...

 1 + 1 = 2

───────────────────────────────────────────────────────────────────────────────

───────────────────────────────────────────────────────────────────────────────
~/workspace/pi-mono (main)

after fix: ctrl+c twice to exit, the status line is kept.

1+1=?


 Thinking...

 1 + 1 = 2

────────────────────────────────────────────────────────────────────────────────

────────────────────────────────────────────────────────────────────────────────
~/workspace/pi-mono (fix/cursor-on-exit)
↑695 ↓40 0.6%/128k                                        minimaxai/minimax-m2.1

@badlogic
Copy link
Copy Markdown
Owner

Merged to main with changelog entry. Thanks @tallshort!

@badlogic badlogic closed this Jan 11, 2026
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.

2 participants