From 5798145581c6b2de18f14c9e1a2e11ec3251c434 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Wed, 4 Jan 2023 10:09:39 +0900 Subject: [PATCH] Fix preview border on tcell renderer --- src/tui/tcell.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {