From 1ccd2b29745acb096b33808dfac0a1b65b597f49 Mon Sep 17 00:00:00 2001 From: okan Date: Tue, 20 Sep 2016 19:58:54 +0000 Subject: Allow ctrl-[ for abort (esc); from Benjamin Scher Purcell --- menu.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'menu.c') diff --git a/menu.c b/menu.c index 1b0ce1f..42a6077 100644 --- a/menu.c +++ b/menu.c @@ -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 @@ -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; } } -- cgit v1.2.3-2-gb3c3