artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0b7cf08
)
C-g for modes too, from Mike Hamrick.
author
nicm
<nicm@openbsd.org>
Mon, 26 Feb 2018 08:09:56 +0000
(08:09 +0000)
committer
nicm
<nicm@openbsd.org>
Mon, 26 Feb 2018 08:09:56 +0000
(08:09 +0000)
usr.bin/tmux/mode-tree.c
patch
|
blob
|
history
diff --git
a/usr.bin/tmux/mode-tree.c
b/usr.bin/tmux/mode-tree.c
index
af73632
..
1e46b26
100644
(file)
--- a/
usr.bin/tmux/mode-tree.c
+++ b/
usr.bin/tmux/mode-tree.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: mode-tree.c,v 1.2
1 2018/02/05 06:51:41
nicm Exp $ */
+/* $OpenBSD: mode-tree.c,v 1.2
2 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':