--- a/src/main.c Tue Aug 25 22:25:33 2026 +0200 +++ b/src/main.c Mon Aug 31 15:49:31 2026 +0200 @@ -42,6 +42,7 @@ #include <errno.h> #include <unistd.h> #include <getopt.h> +#include <curses.h> typedef struct { /** @@ -70,7 +71,9 @@ memset(&settings, 0, sizeof(settings)); settings.servercolor = WHITE; settings.port = 27015; +#ifndef DISABLE_UNICODE settings.unicode = !!setlocale(LC_CTYPE, "C.UTF-8"); +#endif } static void cleanup() { @@ -184,7 +187,9 @@ " -h This help page\n" " -p TCP port to use (default: 27015)\n" " -u Use Unix domain socket instead of TCP\n" +#ifndef DISABLE_UNICODE " -U Disables unicode pieces\n" +#endif " -v Print version information and exits\n" "\nTime control (default: disabled)\n" " -t <time> Time limit in minutes (or seconds when used with 's' suffix)\n"