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 | 55c9be06ca5a527e14e3f0b5b08845f0fcbf4999 (diff) |
accepted vi'is exit approach ^[ (suggested by Arkaduisz)
-rw-r--r-- | dmenu.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -279,6 +279,8 @@ keypress(XKeyEvent *ev) { | |||
279 | case XK_Return: | 279 | case XK_Return: |
280 | case XK_KP_Enter: | 280 | case XK_KP_Enter: |
281 | break; | 281 | break; |
282 | case XK_bracketleft: | ||
283 | exit(EXIT_FAILURE); | ||
282 | default: | 284 | default: |
283 | return; | 285 | return; |
284 | } | 286 | } |