--- a/src/input.c Mon Aug 31 17:56:17 2026 +0200
+++ b/src/input.c Mon Aug 31 18:03:50 2026 +0200
@@ -79,3 +79,11 @@
return 0;
}
+
+int input_getmaxy(void) {
+ /* POSIX-curses-compliant wrapper for getmaxy() */
+ int x, y;
+ getmaxyx(stdscr, y, x);
+ (void)x;
+ return y;
+}