summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tui/light.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tui/light.go b/src/tui/light.go
index 80488bf7..054c23a3 100644
--- a/src/tui/light.go
+++ b/src/tui/light.go
@@ -1097,7 +1097,7 @@ func (w *LightWindow) fill(str string, resetCode string) FillReturn {
}
}
}
- if w.posx+1 >= w.Width() {
+ if w.posx >= w.Width() {
if w.posy+1 >= w.height {
return FillSuspend
}