diff options
Diffstat (limited to 'src/fe-text/term-terminfo.c')
-rw-r--r-- | src/fe-text/term-terminfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fe-text/term-terminfo.c b/src/fe-text/term-terminfo.c index 7e0ea686..4b8d7938 100644 --- a/src/fe-text/term-terminfo.c +++ b/src/fe-text/term-terminfo.c @@ -188,7 +188,7 @@ void term_resize_final(int width, int height) /* Returns TRUE if terminal has colors */ int term_has_colors(void) { - return current_term->has_colors; + return current_term->TI_colors > 0; } /* Force the colors on any way you can */ |