summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ui.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ui.c b/ui.c
index da28b76..12c8541 100644
--- a/ui.c
+++ b/ui.c
@@ -220,10 +220,11 @@ void uiDraw(void) {
 		1, 0,
 		BOTTOM - 1, RIGHT
 	);
-	// TODO: Input scrolling.
+	int y, x;
+	getyx(input, y, x);
 	pnoutrefresh(
 		input,
-		0, 0,
+		0, (x > RIGHT ? x - RIGHT : 0),
 		BOTTOM, 0,
 		BOTTOM, RIGHT
 	);
p;follow=1'>Resize using target pixel counts for consistencyJune McEnroe 2024-06-10Add The Girl Who Was Convinced...June McEnroe 2024-06-09Add photos from May 31June McEnroe 2024-06-09Use monospace on photo pagesJune McEnroe 2024-06-09Put lens and (future) film at the tops of photo pagesJune McEnroe 2024-05-22Remove use of sysexits.hJune McEnroe 2024-05-22Add photo descriptions from 05-03 and 05-06June McEnroe 2024-05-21Fix = precedence in whenJune McEnroe