From: Anselm R Garbe Date: Fri, 28 Jun 2013 20:06:02 +0000 (+0200) Subject: accepted vi'is exit approach ^[ (suggested by Arkaduisz) X-Git-Url: https://git.danieliu.xyz/?a=commitdiff_plain;h=597d4b43379433a5bf86d490f747c0eeda38bba8;p=dmenu.git accepted vi'is exit approach ^[ (suggested by Arkaduisz) --- 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; }