From: nicm Date: Mon, 1 Jan 2018 11:03:54 +0000 (+0000) Subject: Add C-g at command prompt for emacs people, GitHub issue 1213. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=1e0128813d5ca75a7fba235f4212826efa35e100;p=openbsd Add C-g at command prompt for emacs people, GitHub issue 1213. --- diff --git a/usr.bin/tmux/status.c b/usr.bin/tmux/status.c index 12a9ebe4df0..86aa853d903 100644 --- a/usr.bin/tmux/status.c +++ b/usr.bin/tmux/status.c @@ -1,4 +1,4 @@ -/* $OpenBSD: status.c,v 1.173 2017/12/27 13:55:42 nicm Exp $ */ +/* $OpenBSD: status.c,v 1.174 2018/01/01 11:03:54 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -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;