diff src/getchar.c @ 5670:cb5683bcde03 v7.4.181

updated for version 7.4.181 Problem: When using 'pastetoggle' the status lines are not updated. (Samuel Ferencik, Jan Christoph Ebersbach) Solution: Update the status lines. (Nobuhiro Takasaki)
author Bram Moolenaar <bram@vim.org>
date Sat, 15 Feb 2014 16:17:07 +0100
parents beb037a6c270
children f5120cbf16b9
line wrap: on
line diff
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -406,7 +406,7 @@ read_readbuf(buf, advance)
 }
 
 /*
- * Prepare the read buffers for reading (if they contains something).
+ * Prepare the read buffers for reading (if they contain something).
  */
     static void
 start_stuff()
@@ -2302,6 +2302,10 @@ vgetorpeek(advance)
 				msg_row = Rows - 1;
 				msg_clr_eos();		/* clear ruler */
 			    }
+#ifdef FEAT_WINDOWS
+			    status_redraw_all();
+			    redraw_statuslines();
+#endif
 			    showmode();
 			    setcursor();
 			    continue;