From 9b3762fcfc3deade9517fbc66c4b4ba4fc34a3d4 Mon Sep 17 00:00:00 2001 From: Stas Sergeev Date: Sun, 27 Oct 2024 00:08:06 +0300 Subject: [PATCH] set TERM=djgpp Needed for ncurses. --- src/command.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/command.c b/src/command.c index d50087e..01611d8 100644 --- a/src/command.c +++ b/src/command.c @@ -4563,6 +4563,7 @@ int main(int argc, const char *argv[], const char *envp[]) free(cmd_path); setenv("COMCOM_VER", version, 1); setenv("ERRORLEVEL", "0", 1); + setenv("TERM", "djgpp", 0); // process arguments for (a = 1; a < argc; a++)