mirror of
https://github.com/openai/codex.git
synced 2026-09-16 12:13:30 +00:00
fix: clear scrollable view before drawing next frame
This commit is contained in:
@@ -438,6 +438,8 @@ impl WidgetRef for ConversationHistoryWidget {
|
||||
.wrap(wrap_cfg())
|
||||
.scroll((offset_into_first as u16, 0));
|
||||
|
||||
// Clear the widget area to avoid visual artifacts from previous frames.
|
||||
Clear.render(area, buf);
|
||||
paragraph.render(area, buf);
|
||||
|
||||
// Draw scrollbar if necessary.
|
||||
|
||||
Reference in New Issue
Block a user