diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2019-05-09 13:13:00 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2019-05-09 13:13:00 +0000 |
commit | 9074802f9742dd97c54225d58edfc9f5573835ad (patch) | |
tree | 0e6f5404f66806000cac036d882658e669233da5 /usr.bin/tmux/key-bindings.c | |
parent | a7780b3c5224a348927ab1380f8973ab01a09ef4 (diff) |
send-keys also needs to insert key commands in the right order.
Diffstat (limited to 'usr.bin/tmux/key-bindings.c')
-rw-r--r-- | usr.bin/tmux/key-bindings.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/tmux/key-bindings.c b/usr.bin/tmux/key-bindings.c index 79db69a2e3f..c484f2301c2 100644 --- a/usr.bin/tmux/key-bindings.c +++ b/usr.bin/tmux/key-bindings.c @@ -1,4 +1,4 @@ -/* $OpenBSD: key-bindings.c,v 1.89 2019/04/29 06:55:21 nicm Exp $ */ +/* $OpenBSD: key-bindings.c,v 1.90 2019/05/09 13:12:59 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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); } |