From e5c137e9e63fff4093a152ade0eb105ba43237b2 Mon Sep 17 00:00:00 2001 From: Iain Patterson Date: Thu, 5 Mar 2015 16:49:04 +0000 Subject: [PATCH] Clear with the default background, not black. We were explicitly clearing the screen with white on black, ignoring the user's terminal settings. --- screen/screen.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screen/screen.go b/screen/screen.go index 41aa4aa..251ca87 100644 --- a/screen/screen.go +++ b/screen/screen.go @@ -33,7 +33,7 @@ func (s *TermboxScreen) BoldPrintAt(x int, y int, text string) { // clear the screen func (s *TermboxScreen) Clear() { - termbox.Clear(termbox.ColorWhite, termbox.ColorBlack) + termbox.Clear(termbox.ColorDefault, termbox.ColorDefault) } // close the screen -- 2.7.4