From: Iain Patterson Date: Thu, 5 Mar 2015 16:49:04 +0000 (+0000) Subject: Clear with the default background, not black. X-Git-Url: http://git.iain.cx/?a=commitdiff_plain;h=e5c137e9e63fff4093a152ade0eb105ba43237b2;hp=aeae84e2ef384df343ade4dfd188169e36ce84c0;p=pstop.git Clear with the default background, not black. We were explicitly clearing the screen with white on black, ignoring the user's terminal settings. --- 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