summaryrefslogtreecommitdiffstats
path: root/src/terminal.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/terminal.go')
-rw-r--r--src/terminal.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/terminal.go b/src/terminal.go
index 4d207b48..2378984d 100644
--- a/src/terminal.go
+++ b/src/terminal.go
@@ -558,6 +558,11 @@ func (t *Terminal) resizeWindows() {
width,
height, false)
}
+ if !t.tui.IsOptimized() && t.theme != nil && t.theme.HasBg() {
+ for i := 0; i < t.window.Height(); i++ {
+ t.window.MoveAndClear(i, 0)
+ }
+ }
}
func (t *Terminal) move(y int, x int, clear bool) {