summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-12-25 18:13:16 -0500
committerJune McEnroe <june@causal.agency>2018-12-25 18:13:16 -0500
commit26a5df3072f8be367be6f9c5508c1901c7060bce (patch)
treea484443331d435c173e653fead4aacc96c952cea
parentAdd 2048 help text (diff)
downloadplay-26a5df3072f8be367be6f9c5508c1901c7060bce.tar.gz
play-26a5df3072f8be367be6f9c5508c1901c7060bce.zip
Use bright foreground colors
-rw-r--r--2048.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/2048.c b/2048.c
index 48c13cb..9b8a3a4 100644
--- a/2048.c
+++ b/2048.c
@@ -158,18 +158,18 @@ static void curse(void) {
 	start_color();
 	use_default_colors();
 	short bright = (COLORS > 8 ? 8 : 0);
-	init_pair(1,  COLOR_WHITE, COLOR_RED);
-	init_pair(2,  COLOR_WHITE, COLOR_GREEN);
-	init_pair(3,  COLOR_WHITE, COLOR_YELLOW);
-	init_pair(4,  COLOR_WHITE, COLOR_BLUE);
-	init_pair(5,  COLOR_WHITE, COLOR_MAGENTA);
-	init_pair(6,  COLOR_WHITE, COLOR_CYAN);
-	init_pair(7,  COLOR_WHITE, bright + COLOR_RED);
-	init_pair(8,  COLOR_WHITE, bright + COLOR_GREEN);
-	init_pair(9,  COLOR_WHITE, bright + COLOR_YELLOW);
-	init_pair(10, COLOR_WHITE, bright + COLOR_BLUE);
-	init_pair(11, COLOR_WHITE, bright + COLOR_MAGENTA);
-	init_pair(12, COLOR_WHITE, bright + COLOR_CYAN);
+	init_pair(1,  bright + COLOR_WHITE, COLOR_RED);
+	init_pair(2,  bright + COLOR_WHITE, COLOR_GREEN);
+	init_pair(3,  bright + COLOR_WHITE, COLOR_YELLOW);
+	init_pair(4,  bright + COLOR_WHITE, COLOR_BLUE);
+	init_pair(5,  bright + COLOR_WHITE, COLOR_MAGENTA);
+	init_pair(6,  bright + COLOR_WHITE, COLOR_CYAN);
+	init_pair(7,  bright + COLOR_WHITE, bright + COLOR_RED);
+	init_pair(8,  bright + COLOR_WHITE, bright + COLOR_GREEN);
+	init_pair(9,  bright + COLOR_WHITE, bright + COLOR_YELLOW);
+	init_pair(10, bright + COLOR_WHITE, bright + COLOR_BLUE);
+	init_pair(11, bright + COLOR_WHITE, bright + COLOR_MAGENTA);
+	init_pair(12, bright + COLOR_WHITE, bright + COLOR_CYAN);
 	init_pair(13, COLOR_WHITE, COLOR_BLACK);
 }
 
t mode on downgradeJune McEnroe 2021-09-15Enter capsicum in downgradeJune McEnroe 2021-09-15Factor out common parts of downgrade messagesJune McEnroe 2021-09-14Add downgrade IRC botJune McEnroe 2021-09-14Sort by title if authors matchJune McEnroe 2021-09-13Swap-remove tags as they're foundJune McEnroe 2021-09-12Replace htagml regex with strncmpJune McEnroe 2021-09-11Also defer printing comment for lone close-parensJune McEnroe 2021-09-10Publish "git-comment"June McEnroe 2021-09-10Add git comment --pretty optionJune McEnroe 2021-09-08Defer printing comment if line is blank or closing braceJune McEnroe 2021-09-08Up default min-repeat to 30 linesJune McEnroe 2021-09-08Handle dirty lines in git-commentJune McEnroe 2021-09-08Document and install git-commentJune McEnroe 2021-09-08Add repeat and all options to git-commentJune McEnroe 2021-09-08Add group threshold to git-commentJune McEnroe