To: vim-dev@vim.org Subject: Patch 6.3a.016 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.3a.016 Problem: After cancelling the ":confirm" dialog the error message and hit-enter prompt may not be displayed properly. Solution: Flush output after showing the dialog. Files: src/message.c *** ../vim-6.3a.015/src/message.c Fri May 7 10:59:37 2004 --- src/message.c Wed May 12 18:26:10 2004 *************** *** 2658,2663 **** --- 2658,2669 ---- c = gui_mch_dialog(type, title, message, buttons, dfltbutton, textfield); msg_end_prompt(); + + /* Flush output to avoid that further messages and redrawing is done + * in the wrong order. */ + out_flush(); + gui_mch_update(); + return c; } #endif *** ../vim-6.3a.015/src/version.c Wed May 12 17:33:08 2004 --- src/version.c Wed May 12 18:23:47 2004 *************** *** 643,644 **** --- 643,646 ---- { /* Add new patch number below this line */ + /**/ + 16, /**/ -- This sentence is not sure that it exists, but if it does, it will certainly consider the possibility that other sentences exist. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ Project leader for A-A-P -- http://www.A-A-P.org /// \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///