Insert copy mode bindings at the right place in the command queue.

This commit is contained in:
nicm
2017-05-10 10:46:59 +00:00
parent 3712b41aba
commit 0e3c5ebe1a
4 changed files with 14 additions and 11 deletions

View File

@ -73,7 +73,7 @@ cmd_send_keys_inject(struct client *c, struct cmdq_item *item, key_code key)
bd = RB_FIND(key_bindings, &table->key_bindings, &bd_find);
if (bd != NULL) {
table->references++;
key_bindings_dispatch(bd, c, NULL, &item->target);
key_bindings_dispatch(bd, item, c, NULL, &item->target);
key_bindings_unref_table(table);
}
}