diff options
Diffstat (limited to 'src/screen.c')
| -rw-r--r-- | src/screen.c | 7 |
1 files changed, 7 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) |
