shithub: zuke

Download patch

ref: c726d8fe23ff0567cc3edbc49b50c0cf50d335ac
parent: 63d962ecbca2b261d4cbf78f47fe415a97c38fd9
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Thu Dec 5 12:28:59 EST 2019

remove inverted mode

--- a/zuke.c
+++ b/zuke.c
@@ -672,16 +672,9 @@
 		{ nil, &key, CHANRCV },
 		{ nil, nil, CHANEND },
 	};
-	int inv, fd, scrolling, oldscroll, oldpcur, oldscrolling, usingscrollbar;
+	int fd, scrolling, oldscroll, oldpcur, oldscrolling, usingscrollbar;
 
-	inv = 0;
-	ARGBEGIN{
-	case 'b':
-		inv = 1;
-		break;
-	default:
-		usage();
-	}ARGEND
+	USED(argc); USED(argv);
 
 	audio = open("/dev/audio", OWRITE);
 	if(audio < 0)
@@ -705,8 +698,8 @@
 	a[2].c = kctl->c;
 
 	f = display->defaultfont;
-	cola = inv ? display->black : display->white;
-	colb = inv ? display->white : display->black;
+	cola = display->white;
+	colb = display->black;
 	srand(time(0));
 	pcurplaying = -1;
 	scrolling = oldscroll = usingscrollbar = 0;