summaryrefslogtreecommitdiffstats
path: root/src/tui/tcell.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/tui/tcell.go')
-rw-r--r--src/tui/tcell.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tui/tcell.go b/src/tui/tcell.go
index befdb58f..82d72995 100644
--- a/src/tui/tcell.go
+++ b/src/tui/tcell.go
@@ -523,7 +523,7 @@ func fill(x, y, w, h int, n ColorPair, r rune) {
}
func (w *TcellWindow) Erase() {
- fill(w.left-1, w.top, w.width+1, w.height, w.normal, ' ')
+ fill(w.left-1, w.top, w.width+1, w.height-1, w.normal, ' ')
}
func (w *TcellWindow) Enclose(y int, x int) bool {