aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/term/screen.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/term/screen.go')
-rw-r--r--internal/term/screen.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/term/screen.go b/internal/term/screen.go
index fc1555f..dedacd0 100644
--- a/internal/term/screen.go
+++ b/internal/term/screen.go
@@ -34,8 +34,7 @@ func (scr *Screen) Size() (int, int) {
}
func (scr *Screen) Clear(style Style) {
- scr.scr.SetStyle(tcell.Style(style))
- scr.scr.Clear()
+ scr.scr.Fill(' ', tcell.Style(style))
}
func (scr *Screen) OnResize(handler func() bool) {