diff options
-rw-r--r-- | src/screen.c | 7 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/src/screen.c b/src/screen.c index 07eaaaadb..71aec85c0 100644 --- a/src/screen.c +++ b/src/screen.c @@ -7129,6 +7129,12 @@ screenalloc(clear) return; entered = TRUE; + /* + * Note that the window sizes are updated before reallocating the arrays, + * thus we must not redraw here! + */ + ++RedrawingDisabled; + win_new_shellsize(); /* fit the windows in the new sized shell */ comp_col(); /* recompute columns for shown command and ruler */ @@ -7363,6 +7369,7 @@ screenalloc(clear) #endif entered = FALSE; + --RedrawingDisabled; #ifdef FEAT_AUTOCMD if (starting == 0) diff --git a/src/version.c b/src/version.c index 318bc93a1..8c03ce877 100644 --- a/src/version.c +++ b/src/version.c @@ -667,6 +667,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 37, +/**/ 36, /**/ 35, |