From aafd5c1010f2c89755a4611f1973cf77e51c1a64 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Thu, 27 Jul 2023 13:33:57 +0200 Subject: [PATCH] Allow overriding SCREEN_WIDTH Signed-off-by: Joachim Wiberg --- src/util.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/util.h b/src/util.h index 0c314d27..c999beac 100644 --- a/src/util.h +++ b/src/util.h @@ -42,7 +42,10 @@ extern int ttcols; extern char *prognm; /* Define for printheader() from conio.h, used in initctl */ +#ifndef SCREEN_WIDTH #define SCREEN_WIDTH ttcols +#endif + #ifdef _LIBITE_LITE # include # include