-/* $OpenBSD: menu.c,v 1.36 2021/09/09 06:57:48 nicm Exp $ */
+/* $OpenBSD: menu.c,v 1.37 2021/09/09 19:37:17 nicm Exp $ */
/*
* Copyright (c) 2019 Nicholas Marriott <nicholas.marriott@gmail.com>
cmd_find_copy_state(&md->fs, fs);
screen_init(&md->s, menu->width + 4, menu->count + 2, 0);
if (~md->flags & MENU_NOMOUSE)
- md->s.mode |= MODE_MOUSE_BUTTON;
+ md->s.mode |= (MODE_MOUSE_ALL|MODE_MOUSE_BUTTON);
md->s.mode &= ~MODE_CURSOR;
md->px = px;