summaryrefslogtreecommitdiffstats
path: root/curs_main.c
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2020-06-24 18:44:18 -0700
committerKevin McCarthy <kevin@8t8.us>2020-06-25 12:10:03 -0700
commit110562b38513692b73b3880aea9c1e1f44c67b57 (patch)
treedbbdccdb1a221ee760d5f763e884d7c6ec7a9048 /curs_main.c
parentbb407ec31a443f8b080f4b00097ea95b4352dfde (diff)
Add tab-completion menu for patterns.
This is based upon the patch from TAKAHASHI Tamotsu, maintained by Vincent Lefèvre. The push/pop menu operations take care of most redraw operations, so remove those from the patch. Change post-search to '|= REDRAW_MOTION' instead of assigning so it doesn't overwrite a full redraw. Add L10N for the new help strings. Add a format string and configuration variable for the menu. Add the multi-character thread patterns. Doing the above required some structural changes to the menu, so I rewrote it in a more common style used elsewhere in Mutt.
Diffstat (limited to 'curs_main.c')
-rw-r--r--curs_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/curs_main.c b/curs_main.c
index 59588faf..19427025 100644
--- a/curs_main.c
+++ b/curs_main.c
@@ -1109,7 +1109,7 @@ int mutt_index_menu (void)
if ((menu->current = mutt_search_command (menu->current, op)) == -1)
menu->current = menu->oldcurrent;
else
- menu->redraw = REDRAW_MOTION;
+ menu->redraw |= REDRAW_MOTION;
break;
case OP_SORT: