diff options
author | nicm <nicm> | 2021-09-09 19:37:17 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-09-09 19:37:17 +0000 |
commit | a0b39dba3145d46dabdceca14bd88a6c10ce590d (patch) | |
tree | 92a66eb0a90994d54664c81f0fc0efb42e449e6f | |
parent | 34312fd6ee8992ce8d13ec63b074466d5f624acc (diff) | |
download | rtmux-a0b39dba3145d46dabdceca14bd88a6c10ce590d.tar.gz rtmux-a0b39dba3145d46dabdceca14bd88a6c10ce590d.tar.bz2 rtmux-a0b39dba3145d46dabdceca14bd88a6c10ce590d.zip |
Turn on both button and all mouse modes for menus since some terminals
only support the former.
-rw-r--r-- | menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -381,7 +381,7 @@ menu_prepare(struct menu *menu, int flags, struct cmdq_item *item, u_int px, 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; |