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
Diffstat (limited to '')
-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);
 }