accepted vi'is exit approach ^[ (suggested by Arkaduisz)
authorAnselm R Garbe <anselm@garbe.us>
Fri, 28 Jun 2013 20:06:02 +0000 (22:06 +0200)
committerAnselm R Garbe <anselm@garbe.us>
Fri, 28 Jun 2013 20:06:02 +0000 (22:06 +0200)
dmenu.c

diff --git a/dmenu.c b/dmenu.c
index a06ae15..5e0a19c 100644 (file)
--- 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;
                }