diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2020-04-13 13:42:36 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2020-04-13 13:42:36 +0000 |
commit | f332e1470fe1588871275b0439ceffa0f7bddf66 (patch) | |
tree | 72e3c46c6b0dc6171677e7ed59e5124346bc8f51 /usr.bin/tmux/menu.c | |
parent | bd8db6c3db9af98dc4b1bcc549263f53e7734bf9 (diff) |
Store a key event not a mouse event in the shared data.
Diffstat (limited to 'usr.bin/tmux/menu.c')
-rw-r--r-- | usr.bin/tmux/menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 <nicholas.marriott@gmail.com> @@ -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); |