File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -456,17 +456,16 @@ func (s *cursedRenderer) flush(closing bool) error {
456456 setProgressBar (s , view .ProgressBar )
457457 }
458458
459- // Render and queue changes to the screen buffer.
460- s .scr .Render (s .cellbuf .Buffer )
461-
462459 if s .showRenderDebug {
463460 renderTime := uv .NewStyledString (fmt .Sprintf ("render time: %s" , s .lastRenderTime ))
464461 if len (content .Text ) > 0 && ! frameArea .Empty () {
465462 renderTime .Draw (s .cellbuf , renderTime .Bounds ())
466- s .scr .Render (s .cellbuf .Buffer )
467463 }
468464 }
469465
466+ // Render and queue changes to the screen buffer.
467+ s .scr .Render (s .cellbuf .Buffer )
468+
470469 if cur := view .Cursor ; cur != nil {
471470 // MoveTo must come after [uv.TerminalRenderer.Render] because the
472471 // cursor position might get updated during rendering.
You can’t perform that action at this time.
0 commit comments