summaryrefslogtreecommitdiffstats
path: root/src/tui/light.go
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2023-11-02 21:00:07 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2023-11-02 21:00:07 +0900
commitd0466fa77714cccae6875facafb4a7d49e3f958e (patch)
tree6f46912b1be2fbefeaae713aed54e257df15c249 /src/tui/light.go
parent21ab64e96213ec99cf3f6f207690ffe710713fcc (diff)
Fix regression where tcell renderer not clearing the preview window
Diffstat (limited to 'src/tui/light.go')
-rw-r--r--src/tui/light.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tui/light.go b/src/tui/light.go
index d26a48f6..e5950cde 100644
--- a/src/tui/light.go
+++ b/src/tui/light.go
@@ -1109,3 +1109,7 @@ func (w *LightWindow) Erase() {
w.FinishFill()
w.Move(0, 0)
}
+
+func (w *LightWindow) EraseMaybe() bool {
+ return false
+}