diff options
-rw-r--r-- | listen/utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/listen/utils.c b/listen/utils.c index cf1a796..7d058a1 100644 --- a/listen/utils.c +++ b/listen/utils.c @@ -82,7 +82,8 @@ void lprintf(int dtype, char *fmt, ...) int initcolor(void) { initscr(); /* Start ncurses */ - if (!has_colors()) { endwin(); + if (!has_colors()) { + endwin(); fprintf(stderr, "Your terminal does not support color\n"); exit(1); } |