diff options
author | nicm <nicm> | 2020-05-16 15:38:14 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-05-16 15:38:14 +0000 |
commit | d056144aa173c7b20d2a78e7d0a5134569e135db (patch) | |
tree | 1e44be13e44572dac128f128f004e25032433ae1 /menu.c | |
parent | 3fb4d4df43b9e2bb5661d3a820cdc26a38f09d9e (diff) | |
download | rtmux-d056144aa173c7b20d2a78e7d0a5134569e135db.tar.gz rtmux-d056144aa173c7b20d2a78e7d0a5134569e135db.tar.bz2 rtmux-d056144aa173c7b20d2a78e7d0a5134569e135db.zip |
Try to search the entire history first for up to 200 ms so a search
count can be shown. If it takes too long, search the visible text only.
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |