summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/windows/inputs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/windows/inputs.py b/src/windows/inputs.py
index 1eadc765..db339b77 100644
--- a/src/windows/inputs.py
+++ b/src/windows/inputs.py
@@ -525,7 +525,7 @@ class Input(Win):
self.view_pos = 0
return
# cursor outside of the screen (left)
- if self.pos < self.view_pos:
+ if self.pos <= self.view_pos:
self.view_pos = self.pos - max(1 * self.width // 3, 1)
# cursor outside of the screen (right)
elif self.pos >= self.view_pos + self.width - 1: