shithub: picker

Download patch

ref: 3072c52be3829a018ff09dfcd36ffb54c2bed9bd
parent: 149d0efdd886eb0b9e78690376ed51e4716397a3
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Mon Feb 15 05:44:55 EST 2021

"q" and "del" to exit

--- a/picker.c
+++ b/picker.c
@@ -560,7 +560,7 @@
 			goto end;
 
 		case Ckey:
-			if(r == Kdel)
+			if(r == Kdel || r == 'q')
 				goto end;
 			if(c == nil)
 				break;
--- a/picker.man
+++ b/picker.man
@@ -61,7 +61,8 @@
 .I -e
 option if you want
 .I picker
-to print all the colors only once you exit the program.
+to print all the colors only once you exit the program (with either
+'q' or 'delete').
 .SH PLUMBING
 Themes can be loaded into a running
 .I picker