1
0
mirror of https://github.com/tmux/tmux.git synced 2025-03-24 14:58:47 +00:00

Turn off cursor in menus again.

This commit is contained in:
Nicholas Marriott 2020-05-04 17:37:03 +01:00
parent a08f1c8c59
commit fc13e9bc2b

1
menu.c
View File

@ -351,6 +351,7 @@ menu_display(struct menu *menu, int flags, struct cmdq_item *item, u_int px,
screen_init(&md->s, menu->width + 4, menu->count + 2, 0);
if (~md->flags & MENU_NOMOUSE)
md->s.mode |= MODE_MOUSE_ALL;
md->s.mode &= ~MODE_CURSOR;
md->px = px;
md->py = py;