]> 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)
committerKevin McCarthy <kevin@8t8.us>
Wed, 5 Apr 2017 23:09:39 +0000 (16:09 -0700)
commiteeb46777e83c0878cff9135353d76cb2b055042c
tree814e2fb851ffa4e58dc484260070402f10c21091
parentb2615132e6c11216a3d87d0826ab9d9249313bfc
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