To: vim-dev@vim.org Subject: Patch 6.1.422 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit ------------ Patch 6.1.422 Problem: Error in .vimrc doesn't cause hit-enter prompt when swapping screens. (Neil Bird) Solution: Set msg_didany also when sending a message to the terminal directly. Files: src/message.c *** ../vim61.421/src/message.c Sat Mar 15 17:55:18 2003 --- src/message.c Sun Mar 23 16:18:31 2003 *************** *** 1551,1556 **** --- 1551,1557 ---- */ if (msg_scrolled && !msg_scrolled_ign) need_wait_return = TRUE; + msg_didany = TRUE; /* remember that something was outputted */ /* * If there is no valid screen, use fprintf so we can see error messages. *************** *** 1601,1607 **** return; } - msg_didany = TRUE; /* remember that something was outputted */ did_wait_return = FALSE; while (*s) { --- 1602,1607 ---- *** ../vim61.421/src/version.c Wed Mar 26 22:21:30 2003 --- src/version.c Wed Mar 26 22:24:58 2003 *************** *** 613,614 **** --- 613,616 ---- { /* Add new patch number below this line */ + /**/ + 422, /**/ -- hundred-and-one symptoms of being an internet addict: 231. You sprinkle Carpet Fresh on the rugs and put your vacuum cleaner in the front doorway permanently so it always looks like you are actually attempting to do something about that mess that has amassed since you discovered the Internet. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\ \\\ Project leader for A-A-P -- http://www.A-A-P.org /// \\\ Help AIDS victims, buy at Amazon -- http://ICCF.nl/click1.html ///