mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Store a key event not a mouse event in the shared data.
This commit is contained in:
@ -333,8 +333,11 @@ cmdq_get_command(struct cmd_list *cmdlist, struct cmd_find_state *current,
|
||||
cmd_find_copy_state(&shared->current, current);
|
||||
else
|
||||
cmd_find_clear_state(&shared->current, 0);
|
||||
if (m != NULL)
|
||||
memcpy(&shared->mouse, m, sizeof shared->mouse);
|
||||
if (m != NULL) {
|
||||
shared->event.key = KEYC_NONE;
|
||||
memcpy(&shared->event.m, m,
|
||||
sizeof shared->event.m);
|
||||
}
|
||||
shared->flags = flags;
|
||||
last_group = group;
|
||||
}
|
||||
|
Reference in New Issue
Block a user