From e3ba6d97ff3d55c22ee9792b1cfdb9a7924ecf70 Mon Sep 17 00:00:00 2001 From: Hinidu Date: Fri, 4 Apr 2014 20:27:55 +0300 Subject: vim-patch: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) https://code.google.com/p/vim/source/detail?r=cb5683bcde03796baa7e845fd9a2fcaec3383538 --- src/getchar.c | 6 +++++- src/version.c | 3 +++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/getchar.c b/src/getchar.c index 19892b6980..27b19b7940 100644 --- a/src/getchar.c +++ b/src/getchar.c @@ -383,7 +383,7 @@ static int read_readbuf(buffheader_T *buf, int 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(void) { @@ -1938,6 +1938,10 @@ static int vgetorpeek(int advance) msg_row = Rows - 1; msg_clr_eos(); /* clear ruler */ } +#ifdef FEAT_WINDOWS + status_redraw_all(); + redraw_statuslines(); +#endif showmode(); setcursor(); continue; diff --git a/src/version.c b/src/version.c index 33fb3ca6cc..092c295b82 100644 --- a/src/version.c +++ b/src/version.c @@ -202,6 +202,9 @@ static char *(features[]) = { static int included_patches[] = { // Add new patch number below this line + 181, + //180, + //179, 178, //177, //176, -- cgit