From bef2c8ce66691e2a3ae7ee75e59e1d36dcafbdea Mon Sep 17 00:00:00 2001 From: Christian Rocha Date: Fri, 7 Jan 2022 13:16:15 -0500 Subject: [PATCH] Always redraw when toggling the altscreen --- standard_renderer.go | 1 + 1 file changed, 1 insertion(+) diff --git a/standard_renderer.go b/standard_renderer.go index dbd1aa3..765cf91 100644 --- a/standard_renderer.go +++ b/standard_renderer.go @@ -234,6 +234,7 @@ func (r *standardRenderer) altScreen() bool { func (r *standardRenderer) setAltScreen(v bool) { r.altScreenActive = v + r.repaint() } // setIgnoredLines specifies lines not to be touched by the standard Bubble Tea