diff options
author | Anselm R Garbe <anselm@garbe.us> | 2013-06-28 22:06:02 +0200 |
---|---|---|
committer | Anselm R Garbe <anselm@garbe.us> | 2013-06-28 22:06:02 +0200 |
commit | 597d4b43379433a5bf86d490f747c0eeda38bba8 (patch) | |
tree | e109f076e4475ed1a06131253d6ada3a7d31902a | |
parent | forgot to add config.def.h, thanks William (diff) | |
download | dmenu-597d4b43379433a5bf86d490f747c0eeda38bba8.tar.gz dmenu-597d4b43379433a5bf86d490f747c0eeda38bba8.tar.bz2 dmenu-597d4b43379433a5bf86d490f747c0eeda38bba8.zip |
accepted vi'is exit approach ^[ (suggested by Arkaduisz)
-rw-r--r-- | dmenu.c | 2 |
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; } |