From: nicm Date: Mon, 26 Feb 2018 08:09:56 +0000 (+0000) Subject: C-g for modes too, from Mike Hamrick. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=846548be0945492c33c44c1aaa01666ff2b4c520;p=openbsd C-g for modes too, from Mike Hamrick. --- 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 @@ -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':