]> granicus.if.org Git - neomutt/commit
Don't create query menu until after initial prompt. (see #3877)
authorKevin McCarthy <kevin@8t8.us>
Wed, 5 Apr 2017 23:09:39 +0000 (16:09 -0700)
committerRichard Russon <rich@flatcap.org>
Sun, 9 Apr 2017 17:47:36 +0000 (18:47 +0100)
commit0460522c108faa8c064153531ebaf5f56249b027
treece3ec6f217398ebf5b3695fc17c9c27b92ddd50e
parent1bf32b1dac81e12b59a3101456a7462e5a809e0c
Don't create query menu until after initial prompt. (see #3877)

A resize in the prompt will trigger a redraw, but the data won't be
loaded yet, displaying a blank screen instead of the previous menu.
Once the query is done, the data is loaded, but the menu->redraw state
has been changed by the resize.

We could manually flag a redraw, but it makes more sense visually
logically to just create the menu after the query and results are
loaded.
query.c