git://git.iain.cx/iain
/
pstop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aeae84e
)
Clear with the default background, not black.
author
Iain Patterson
<me@iain.cx>
Thu, 5 Mar 2015 16:49:04 +0000
(16:49 +0000)
committer
Iain Patterson
<me@iain.cx>
Thu, 5 Mar 2015 16:49:04 +0000
(16:49 +0000)
We were explicitly clearing the screen with white on black, ignoring the user's
terminal settings.
screen/screen.go
patch
|
blob
|
history
diff --git
a/screen/screen.go
b/screen/screen.go
index
41aa4aa
..
251ca87
100644
(file)
--- 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.Color
White, termbox.ColorBlack
)
+ termbox.Clear(termbox.Color
Default, termbox.ColorDefault
)
}
// close the screen