Always redraw when toggling the altscreen

This commit is contained in:
Christian Rocha 2022-01-07 13:16:15 -05:00
parent 03c08875b3
commit bef2c8ce66
1 changed files with 1 additions and 0 deletions

View File

@ -234,6 +234,7 @@ func (r *standardRenderer) altScreen() bool {
func (r *standardRenderer) setAltScreen(v bool) { func (r *standardRenderer) setAltScreen(v bool) {
r.altScreenActive = v r.altScreenActive = v
r.repaint()
} }
// setIgnoredLines specifies lines not to be touched by the standard Bubble Tea // setIgnoredLines specifies lines not to be touched by the standard Bubble Tea