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:
2
format.c
2
format.c
@ -1133,7 +1133,7 @@ format_create_add_item(struct format_tree *ft, struct cmdq_item *item)
|
||||
|
||||
if (shared == NULL)
|
||||
return;
|
||||
m = &shared->mouse;
|
||||
m = &shared->event.m;
|
||||
if (m->valid && ((wp = cmd_mouse_pane(m, NULL, NULL)) != NULL)) {
|
||||
format_add(ft, "mouse_pane", "%%%u", wp->id);
|
||||
if (cmd_mouse_at(wp, m, &x, &y, 0) == 0) {
|
||||
|
Reference in New Issue
Block a user