From f332e1470fe1588871275b0439ceffa0f7bddf66 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Mon, 13 Apr 2020 13:42:36 +0000 Subject: Store a key event not a mouse event in the shared data. --- usr.bin/tmux/menu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.bin/tmux/menu.c') diff --git a/usr.bin/tmux/menu.c b/usr.bin/tmux/menu.c index 41262c32bff..5c60f6dbb43 100644 --- a/usr.bin/tmux/menu.c +++ b/usr.bin/tmux/menu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: menu.c,v 1.16 2020/04/13 10:59:58 nicm Exp $ */ +/* $OpenBSD: menu.c,v 1.17 2020/04/13 13:42:35 nicm Exp $ */ /* * Copyright (c) 2019 Nicholas Marriott @@ -282,7 +282,7 @@ chosen: break; case CMD_PARSE_SUCCESS: if (md->item != NULL) - m = &cmdq_get_shared(md->item)->mouse; + m = &cmdq_get_shared(md->item)->event.m; else m = NULL; new_item = cmdq_get_command(pr->cmdlist, &md->fs, m, 0); -- cgit v1.2.3