]> code.citadel.org Git - citadel.git/commitdiff
commands.c: when using color, default to low-intensity colors
authorArt Cancro <ajc@citadel.org>
Sat, 12 Dec 1998 00:46:14 +0000 (00:46 +0000)
committerArt Cancro <ajc@citadel.org>
Sat, 12 Dec 1998 00:46:14 +0000 (00:46 +0000)
citadel/ChangeLog
citadel/commands.c

index e3fd4d2000ee31a0d6d91ac5004954dac399efcf..da6067e7fa656d9b47c32638b23d55feb92b0753 100644 (file)
@@ -2,6 +2,7 @@ Fri Dec 11 18:50:00 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
        * setup.c: default value for maxsessions is now 0 (no limit)
        * room_ops.c: don't allow users to create a room called "Mail"
        * serv_expire.c: fixed "number of messages purged" display
+       * commands.c: when using color, default to low-intensity colors
 
 Tue Dec  8 07:58:16 EST 1998 Art Cancro <ajc@uncnsrd.mt-kisco.ny.us>
        * Beta 2
index e30a34399407266d28b40bc413c2103f5eb762a8..937ea2c885257d8064d807cd9d40d83443a14fca 100644 (file)
@@ -913,7 +913,6 @@ void color(int colornum)
 {
        if (enable_color) {
                printf("\033[3%dm", colornum);
-               /* printf("\033[1m"); */ /* uncomment for bold colours */
                fflush(stdout);
                }
        }
@@ -921,6 +920,7 @@ void color(int colornum)
 void cls(int colornum) {
        if (enable_color) {
                printf("\033[4%dm\033[2J\033[H", colornum);
+               printf("\033[0m"); /* change to 1 for bold colours */
                fflush(stdout);
                }
        }