aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--internal/term/draw.go2
-rw-r--r--internal/term/screen.go3
2 files changed, 2 insertions, 3 deletions
diff --git a/internal/term/draw.go b/internal/term/draw.go
index 9ce640a..2ded6b3 100644
--- a/internal/term/draw.go
+++ b/internal/term/draw.go
@@ -12,7 +12,7 @@ var (
)
func init() {
- BgStyle = Style(tcell.StyleDefault.Background(tcell.ColorReset).Foreground(tcell.ColorReset))
+ BgStyle = Style(tcell.StyleDefault.Foreground(tcell.ColorReset).Background(tcell.ColorReset))
FgStyle = Style(tcell.StyleDefault.Foreground(tcell.ColorWhite).Background(tcell.ColorOlive))
}
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) {