mirror of
https://github.com/tmux/tmux.git
synced 2024-12-25 02:48:47 +00:00
Add C-g at command prompt for emacs people, GitHub issue 1213.
This commit is contained in:
parent
c9896d9554
commit
fe26f977e6
1
status.c
1
status.c
@ -1339,6 +1339,7 @@ process_key:
|
|||||||
break;
|
break;
|
||||||
case '\033': /* Escape */
|
case '\033': /* Escape */
|
||||||
case '\003': /* C-c */
|
case '\003': /* C-c */
|
||||||
|
case '\007': /* C-g */
|
||||||
if (c->prompt_inputcb(c, c->prompt_data, NULL, 1) == 0)
|
if (c->prompt_inputcb(c, c->prompt_data, NULL, 1) == 0)
|
||||||
status_prompt_clear(c);
|
status_prompt_clear(c);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user