about summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui.c b/ui.c
index d4ef241..f71672b 100644
--- a/ui.c
+++ b/ui.c
@@ -226,7 +226,7 @@ void uiDraw(void) {
 	getyx(input, y, x);
 	pnoutrefresh(
 		input,
-		0, (x > RIGHT ? x - RIGHT : 0),
+		0, (x + 1 > RIGHT ? x + 1 - RIGHT : 0),
 		BOTTOM, 0,
 		BOTTOM, RIGHT
 	);