for all the people that switched from escape key to ^[ chord which are
frustrated being unable to exit dmenu at the first try
---
 dmenu.c | 2 ++
 1 file changed, 2 insertions(+)

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;
                }
-- 
1.8.3.1


Reply via email to