Skip to content
Myr

fix: prevent double repaint when restoring terminal

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Christian Muehlhaeuser · committed by Christian Muehlhaeuser · parent 1c3b792 · Browse files · 1 file+3 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+3 added−2 removed

  • other:+3 added−2 removed

1 file+3 added−2 removed

modified:tea.go+3 added-2 removed
570 unmodified lines
571 }572573 if p.altScreenWasActive {574 p.renderer.enterAltScreen()575 } else {576 // entering alt screen already causes a repaint.577 go p.Send(repaintMsg{})578 }579577 go p.Send(repaintMsg{})578580 return nil581}582583// Println prints above the Program. This output is unmanaged by the program
41 unmodified lines