Skip to content

Comments

fix(tui): use Static region to eliminate full-history repaint#46

Merged
terraboops merged 1 commit intomainfrom
fix/tui-static-history
Feb 23, 2026
Merged

fix(tui): use Static region to eliminate full-history repaint#46
terraboops merged 1 commit intomainfrom
fix/tui-static-history

Conversation

@emesal
Copy link
Owner

@emesal emesal commented Feb 22, 2026

Summary

  • Moves finalized messages into ink's <Static> region so they're printed once and never redrawn
  • Only the in-progress streaming message lives in the dynamic region
  • Eliminates the full-history flash on every ActivityIndicator tick (80ms), which caused significant flicker during long responses with tool calls

Test plan

  • autonav chat <navigator> — messages appear correctly and don't flash/repaint on tool activity
  • Tool activity lines appear between message blocks as expected
  • /clear, /help, /status commands still work
  • Streaming text updates correctly during response generation

move finalized messages into ink's <Static> region so they're printed
once and never repainted. only the in-progress streaming message lives
in the dynamic region, eliminating full-history flash on every
ActivityIndicator tick.
@terraboops terraboops merged commit 2f990e9 into main Feb 23, 2026
5 checks passed
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