[hackers] [dmenu] accepted vi'is exit approach ^[ (suggested by Arkaduisz) || Anselm R Garbe

From: <git_AT_suckless.org>
Date: Fri, 28 Jun 2013 22:06:33 +0200

commit 597d4b43379433a5bf86d490f747c0eeda38bba8
Author: Anselm R Garbe <anselm_AT_garbe.us>
Date: Fri Jun 28 22:06:02 2013 +0200

    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
_AT_@ -279,6 +279,8 @@ keypress(XKeyEvent *ev) {
                 case XK_Return:
                 case XK_KP_Enter:
                         break;
+ case XK_bracketleft:
+ exit(EXIT_FAILURE);
                 default:
                         return;
                 }
Received on Fri Jun 28 2013 - 22:06:33 CEST

This archive was generated by hypermail 2.3.0 : Fri Jun 28 2013 - 22:12:18 CEST