From 1e0128813d5ca75a7fba235f4212826efa35e100 Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 1 Jan 2018 11:03:54 +0000 Subject: [PATCH] Add C-g at command prompt for emacs people, GitHub issue 1213. --- usr.bin/tmux/status.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.20.1