artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0233b31
)
Add C-g at command prompt for emacs people, GitHub issue 1213.
author
nicm
<nicm@openbsd.org>
Mon, 1 Jan 2018 11:03:54 +0000
(11:03 +0000)
committer
nicm
<nicm@openbsd.org>
Mon, 1 Jan 2018 11:03:54 +0000
(11:03 +0000)
usr.bin/tmux/status.c
patch
|
blob
|
history
diff --git
a/usr.bin/tmux/status.c
b/usr.bin/tmux/status.c
index
12a9ebe
..
86aa853
100644
(file)
--- a/
usr.bin/tmux/status.c
+++ b/
usr.bin/tmux/status.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: status.c,v 1.17
3 2017/12/27 13:55:42
nicm Exp $ */
+/* $OpenBSD: status.c,v 1.17
4 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;