diff options
author | 2016-10-12 14:50:14 +0000 | |
---|---|---|
committer | 2016-10-12 14:50:14 +0000 | |
commit | ce3f476a9998545a4f10486560f8ebd4594ab525 (patch) | |
tree | c31ee3a1799f20bf30c14547dd3e4ebad141455a /usr.bin/tmux/cmd-bind-key.c | |
parent | client_identifier is not a string so using strlen() on it is (diff) | |
download | wireguard-openbsd-ce3f476a9998545a4f10486560f8ebd4594ab525.tar.xz wireguard-openbsd-ce3f476a9998545a4f10486560f8ebd4594ab525.zip |
Drop the edit mode key tables and just use fixed key bindings for the
command prompt.
Diffstat (limited to 'usr.bin/tmux/cmd-bind-key.c')
-rw-r--r-- | usr.bin/tmux/cmd-bind-key.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/tmux/cmd-bind-key.c b/usr.bin/tmux/cmd-bind-key.c index 694760ce55a..3300782c054 100644 --- a/usr.bin/tmux/cmd-bind-key.c +++ b/usr.bin/tmux/cmd-bind-key.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-bind-key.c,v 1.28 2016/10/11 07:23:34 nicm Exp $ */ +/* $OpenBSD: cmd-bind-key.c,v 1.29 2016/10/12 14:50:14 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -120,11 +120,9 @@ cmd_bind_key_mode_table(struct cmd *self, struct cmd_q *cmdq, key_code key) } mtmp.key = key; - mtmp.mode = !!args_has(args, 'c'); if ((mbind = RB_FIND(mode_key_tree, mtab->tree, &mtmp)) == NULL) { mbind = xmalloc(sizeof *mbind); mbind->key = mtmp.key; - mbind->mode = mtmp.mode; RB_INSERT(mode_key_tree, mtab->tree, mbind); } mbind->cmd = cmd; |