summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-10-28 22:06:07 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-10-28 22:06:07 +0000
commit0229a2bd848f09eecfa65a5823c3ba8e4d39ab3d (patch)
treedb843b9ef5ce3f85ca74f1e8c966e2ad2c53c6ed
parent20e1de5ae12a7d80f5b365bf24ba994625a02ab6 (diff)
downloadirssi-0229a2bd848f09eecfa65a5823c3ba8e4d39ab3d.zip
Change that should have been committed already
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1931 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r--src/fe-text/terminfo-core.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fe-text/terminfo-core.h b/src/fe-text/terminfo-core.h
index 4586178d..906d4163 100644
--- a/src/fe-text/terminfo-core.h
+++ b/src/fe-text/terminfo-core.h
@@ -14,7 +14,7 @@
#define terminfo_set_bold() current_term->set_bold(current_term)
#define terminfo_set_uline(set) current_term->set_uline(current_term, set)
#define terminfo_set_standout(set) current_term->set_standout(current_term, set)
-#define terminfo_has_colors(term) (term->TI_fg[0] != NULL)
+#define terminfo_is_colors_set(term) (term->TI_fg[0] != NULL)
#define terminfo_beep(term) current_term->beep(current_term)
typedef struct _TERM_REC TERM_REC;
@@ -62,6 +62,7 @@ struct _TERM_REC {
const char *TI_el;
/* Colors */
+ int has_colors;
const char *TI_sgr0; /* turn off all attributes */
const char *TI_smul, *TI_rmul; /* underline on/off */
const char *TI_smso, *TI_rmso; /* standout on/off */