#3877: no redraw when Mutt is prompting the user and the window is resized
----------------------+----------------------
  Reporter:  vinc17   |      Owner:  mutt-dev
      Type:  defect   |     Status:  new
  Priority:  minor    |  Milestone:
 Component:  display  |    Version:  1.7.0
Resolution:           |   Keywords:
----------------------+----------------------

Comment (by kevin8t8):

 Hi Vincent,

 You should be seeing the redraw done after the menu editor is finished or
 cancelled.

 We either have to abort the menu and redraw immediately, or delay the
 redraw until afterwards.

 Prior to changeset:87911ba95dae the behavior in km_dokey() was
 inconsistent: if mutt was compiled without imap, or ImapKeepalive >=
 Timeout, or you happened to be in the last interval dividing up Timeout by
 ImapKeepalive it did not abort the menu, otherwise it would abort the
 menu.

 Other prompts, such as the mutt_yesorno() prompts do not abort the menu,
 so I believe the right thing to do was to change the behavior to be
 consistent.

 On tiling window managers, I believe this is important, as opening a new
 window could reflow the window layout and cause whatever you were typing
 to be lost.

 -Kevin

--
Ticket URL: <https://dev.mutt.org/trac/ticket/3877#comment:1>
Mutt <http://www.mutt.org/>
The Mutt mail user agent

Reply via email to