Skip to content

Update Ratatui to 0.30.2 - #188

Merged
lusingander merged 6 commits into
masterfrom
ratatui-0.30.2
Oct 11, 2026
Merged

lusingander merged 6 commits into
masterfrom
ratatui-0.30.2

Conversation

@lusingander

Copy link
Copy Markdown
Owner

Update Ratatui to 0.30.2 and address rendering issues caused by changes to buffer diffing and screen clearing.

  • Image cell diffing: Image escape sequences could be interpreted as excessively wide text, causing unrelated cells to be skipped. Use ForcedWidth(1) for image cells and Skip for covered cells.
  • Image clearing: Clearing images across the screen could remove unchanged graph rows that the new diffing logic would not redraw. Limit clearing to areas covered by the newly opened view.
  • View-switching delays: Terminal::clear() queries the cursor position, competing with the input thread and causing roughly 100 ms delays. Clear the backend and reset the diff buffers without querying the cursor.
  • Flickering: Group image deletion, uploads, and text rendering within a synchronized update so terminals can display the completed frame together. Keep input waiting and external command execution outside this update.

@lusingander
lusingander merged commit 688d6c1 into master Oct 11, 2026
20 checks passed
@lusingander
lusingander deleted the ratatui-0.30.2 branch October 11, 2026 05:59
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.

1 participant