about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAnselm R Garbe <anselm@garbe.us>2013-06-28 22:06:02 +0200
committerAnselm R Garbe <anselm@garbe.us>2013-06-28 22:06:02 +0200
commit597d4b43379433a5bf86d490f747c0eeda38bba8 (patch)
treee109f076e4475ed1a06131253d6ada3a7d31902a
parentforgot to add config.def.h, thanks William (diff)
downloaddmenu-597d4b43379433a5bf86d490f747c0eeda38bba8.tar.gz
dmenu-597d4b43379433a5bf86d490f747c0eeda38bba8.tar.bz2
dmenu-597d4b43379433a5bf86d490f747c0eeda38bba8.zip
accepted vi'is exit approach ^[ (suggested by Arkaduisz)
-rw-r--r--dmenu.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/dmenu.c b/dmenu.c
index a06ae15..5e0a19c 100644
--- a/dmenu.c
+++ b/dmenu.c
@@ -279,6 +279,8 @@ keypress(XKeyEvent *ev) {
 		case XK_Return:
 		case XK_KP_Enter:
 			break;
+		case XK_bracketleft:
+			exit(EXIT_FAILURE);
 		default:
 			return;
 		}