]> code.citadel.org Git - citadel.git/blobdiff - citadel/routines.c
* Added a fourth color mode in the client: "user" which turns color
[citadel.git] / citadel / routines.c
index 2cea59f5ae56f42dc9508a8a6fc2c298e7f7dffd..08051a136baf0f95e65cf4f73fc9521b045ca150 100644 (file)
@@ -41,6 +41,7 @@ extern char *axdefs[7];
 extern char sigcaught;
 extern struct CtdlServInfo serv_info;
 extern char rc_floor_mode;
+extern int rc_ansi_color;
 
 int struncmp(char *lstr, char *rstr, int len)
 {
@@ -273,6 +274,10 @@ void enter_config(int mode)
          flags = set_attr(flags,
                "View rooms by floor",US_FLOORS);
          }
+        if (rc_ansi_color == 3) {
+         flags = set_attr(flags,
+               "Enable color support",US_COLOR);
+         }
         }
 
        if (mode==2) {