diff options
author | nicm <nicm> | 2016-10-12 14:50:14 +0000 |
---|---|---|
committer | nicm <nicm> | 2016-10-12 14:50:14 +0000 |
commit | c484c5a2a1b6c8261564b2959866e2cfa061ca99 (patch) | |
tree | 1c5611cb1b3890183d0e6e0efc3342687b6fb7f2 /cmd-bind-key.c | |
parent | 4160df4ca4035c8caafce7650d0fcbcccc391f80 (diff) | |
download | rtmux-c484c5a2a1b6c8261564b2959866e2cfa061ca99.tar.gz rtmux-c484c5a2a1b6c8261564b2959866e2cfa061ca99.tar.bz2 rtmux-c484c5a2a1b6c8261564b2959866e2cfa061ca99.zip |
Drop the edit mode key tables and just use fixed key bindings for the
command prompt.
Diffstat (limited to 'cmd-bind-key.c')
-rw-r--r-- | cmd-bind-key.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd-bind-key.c b/cmd-bind-key.c index 69314788..b87d5245 100644 --- a/cmd-bind-key.c +++ b/cmd-bind-key.c @@ -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; |