summaryrefslogtreecommitdiff
path: root/usr.bin/tmux
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2018-01-01 11:03:55 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2018-01-01 11:03:55 +0000
commitf9a986a5387b3f3edeca90c0077c4771a146f335 (patch)
tree605a994c69445678d9b350c230a92d028107670f /usr.bin/tmux
parent5c522ed4c19d4eb00faf2a2f63a93f7df43067a1 (diff)
Add C-g at command prompt for emacs people, GitHub issue 1213.
Diffstat (limited to 'usr.bin/tmux')
-rw-r--r--usr.bin/tmux/status.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/status.c b/usr.bin/tmux/status.c
index 12a9ebe4df0..86aa853d903 100644
--- a/usr.bin/tmux/status.c
+++ b/usr.bin/tmux/status.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: status.c,v 1.173 2017/12/27 13:55:42 nicm Exp $ */
+/* $OpenBSD: status.c,v 1.174 2018/01/01 11:03:54 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -1339,6 +1339,7 @@ process_key:
break;
case '\033': /* Escape */
case '\003': /* C-c */
+ case '\007': /* C-g */
if (c->prompt_inputcb(c, c->prompt_data, NULL, 1) == 0)
status_prompt_clear(c);
break;