send-keys also needs to insert key commands in the right order.

This commit is contained in:
nicm
2019-05-09 13:12:59 +00:00
parent 3c68e51609
commit 21d9750450
3 changed files with 22 additions and 18 deletions

View File

@ -448,7 +448,7 @@ key_bindings_read_only(struct cmdq_item *item, __unused void *data)
return (CMD_RETURN_ERROR);
}
void
struct cmdq_item *
key_bindings_dispatch(struct key_binding *bd, struct cmdq_item *item,
struct client *c, struct mouse_event *m, struct cmd_find_state *fs)
{
@ -472,4 +472,5 @@ key_bindings_dispatch(struct key_binding *bd, struct cmdq_item *item,
cmdq_insert_after(item, new_item);
else
cmdq_append(c, new_item);
return (new_item);
}