diff options
author | okan | 2016-09-20 19:58:54 +0000 |
---|---|---|
committer | okan | 2016-09-20 19:58:54 +0000 |
commit | 1ccd2b29745acb096b33808dfac0a1b65b597f49 (patch) | |
tree | 30d12e8c86fdb26580a34faf55827375f8423fcc | |
parent | e3ef653b533268a266d826dc86e82d56f9690000 (diff) | |
download | cwm-1ccd2b29745acb096b33808dfac0a1b65b597f49.tar.gz |
Allow ctrl-[ for abort (esc); from Benjamin Scher Purcell
-rw-r--r-- | menu.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -16,7 +16,7 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * - * $OpenBSD: menu.c,v 1.91 2016/08/28 15:23:24 okan Exp $ + * $OpenBSD: menu.c,v 1.92 2016/09/20 19:58:54 okan Exp $ */ #include <sys/types.h> @@ -565,6 +565,9 @@ menu_keycode(XKeyEvent *ev, enum ctltype *ctl, char *chr) case XK_A: *ctl = CTL_ALL; break; + case XK_bracketleft: + *ctl = CTL_ABORT; + break; } } |