src/input.c

changeset 202
6960625e62e0
parent 200
4913bc0ff3e5
--- 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;
+}

mercurial