Manage last search pattern outside of menu lifecycle
Previously, the pattern was thrown away during menu destruction. For the next search, mutt then can't provide a good suggestion. The new behaviour is to manage the pattern outside the lifecyle to always provide the last pattern as suggestion.
Showing with 42 additions and 38 deletions