Skip to content

Commit

Permalink
fix: cellrenderer: we need to repaint after clearing the screen
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed Oct 17, 2024
1 parent 9759abd commit 3567f72
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cell_renderer.go
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ func (c *cellRenderer) update(msg Msg) {

case clearScreenMsg:
io.WriteString(c.out, ansi.EraseEntireDisplay+ansi.MoveCursorOrigin) //nolint:errcheck
c.repaint()

case repaintMsg:
c.repaint()
Expand Down

0 comments on commit 3567f72

Please sign in to comment.