about summary refs log tree commit diff
path: root/ui.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui.c')
-rw-r--r--ui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui.c b/ui.c
index 5091431..1925108 100644
--- a/ui.c
+++ b/ui.c
@@ -42,7 +42,7 @@ static void colorInit(void) {
 	start_color();
 	use_default_colors();
 	if (COLORS >= 16) {
-		for (short pair = 0; pair < 0xFF; ++pair) {
+		for (short pair = 0; pair < 0x100; ++pair) {
 			if (pair < 0x10) {
 				init_pair(1 + pair, pair, -1);
 			} else {
@@ -50,7 +50,7 @@ static void colorInit(void) {
 			}
 		}
 	} else {
-		for (short pair = 0; pair < 077; ++pair) {
+		for (short pair = 0; pair < 0100; ++pair) {
 			if (pair < 010) {
 				init_pair(1 + pair, pair, -1);
 			} else {
ass='nohover-highlight'> 2018-01-29Switch back to QWERTY on LinuxJune McEnroe I think the only thing I'll miss is N and E on home row (which was Tarmak 1, if I remember correctly). 2018-01-29Take fbclock font in env varJune McEnroe 2018-01-29Support fbclock fonts wider than 8June McEnroe 2018-01-29Take font path on fbclock argvJune McEnroe 2018-01-29Add fbclockJune McEnroe 2018-01-29Remove color from MakefileJune McEnroe 2018-01-29Set t_Co = 8June McEnroe Weirdly with t_Co = 16 yellow and bright white weren't showing up on TERM=linux. 2018-01-29Add :Q command aliasJune McEnroe It seemes I can't take my finger off the shift key fast enough. 2018-01-29Add setuid target for briJune McEnroe 2018-01-28Add init function to fb interfaceJune McEnroe 2018-01-28Add color.cJune McEnroe