=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/tmux/cmd-send-keys.c,v retrieving revision 1.58 retrieving revision 1.59 diff -u -r1.58 -r1.59 --- src/usr.bin/tmux/cmd-send-keys.c 2020/04/13 14:04:25 1.58 +++ src/usr.bin/tmux/cmd-send-keys.c 2020/04/13 14:46:04 1.59 @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-send-keys.c,v 1.58 2020/04/13 14:04:25 nicm Exp $ */ +/* $OpenBSD: cmd-send-keys.c,v 1.59 2020/04/13 14:46:04 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott @@ -134,13 +134,13 @@ cmd_send_keys_exec(struct cmd *self, struct cmdq_item *item) { struct args *args = cmd_get_args(self); - struct cmdq_state *state = cmdq_get_state(item); struct cmd_find_state *target = cmdq_get_target(item); struct client *c = cmd_find_client(item, NULL, 1); struct window_pane *wp = target->wp; struct session *s = target->s; struct winlink *wl = target->wl; - struct mouse_event *m = &state->event.m; + struct key_event *event = cmdq_get_event(item); + struct mouse_event *m = &event->m; struct window_mode_entry *wme = TAILQ_FIRST(&wp->modes); int i; key_code key;