summary refs log tree commit diff homepage
path: root/2048.c
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 /2048.c
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);
 }
 
985872f76369ed1bcb&follow=1'>Use SendEnv for cd host:pathJune McEnroe 2020-10-27Allow cd host:path over sshJune McEnroe 2020-10-07Use mandoc -T utf8 for text.June McEnroe 2020-09-20Add The Awakened KingdomJune McEnroe 2020-09-12Move /opt/local back, cheat port select to use system manJune McEnroe 2020-09-12Move /opt/local behind /usr againJune McEnroe 2020-09-12Enable toc in cgit renderings of man pagesJune McEnroe 2020-09-11Install mandoc on macOSJune McEnroe 2020-09-11Rewrite install script yet againJune McEnroe 2020-09-11Remove NetBSD from install scriptJune McEnroe 2020-09-11Use MacPorts rather than pkgsrcJune McEnroe 2020-09-11Add debian VM name to sshJune McEnroe 2020-09-11Add influencer tweetJune McEnroe 2020-09-10Add The Kingdom of GodsJune McEnroe 2020-09-07Add SunglassesJune McEnroe 2020-09-06Add Between the BreathsJune McEnroe 2020-09-04Open /dev/tty in nudgeJune McEnroe 2020-09-04Add nudgeJune McEnroe 2020-09-03Build fbclock with -lzJune McEnroe 2020-08-29Add tweets from retweetsJune McEnroe