diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2018-02-26 08:09:57 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2018-02-26 08:09:57 +0000 |
commit | 92f3bc5a825bc7862dedf02e6e4728c274c711c9 (patch) | |
tree | 1cf72fdfbbe81b181ad7c4f08a7f5a237f7f5df2 /usr.bin | |
parent | 648f0f3d402dd7d0ce216115c69a07246bb157cb (diff) |
C-g for modes too, from Mike Hamrick.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/tmux/mode-tree.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/mode-tree.c b/usr.bin/tmux/mode-tree.c index af736324486..1e46b266e12 100644 --- a/usr.bin/tmux/mode-tree.c +++ b/usr.bin/tmux/mode-tree.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mode-tree.c,v 1.21 2018/02/05 06:51:41 nicm Exp $ */ +/* $OpenBSD: mode-tree.c,v 1.22 2018/02/26 08:09:56 nicm Exp $ */ /* * Copyright (c) 2017 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -801,6 +801,7 @@ mode_tree_key(struct mode_tree_data *mtd, struct client *c, key_code *key, switch (*key) { case 'q': case '\033': /* Escape */ + case '\007': /* C-g */ return (1); case KEYC_UP: case 'k': |