diff options
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/term.c b/src/term.c index 0a296fc91..38fc89b69 100644 --- a/src/term.c +++ b/src/term.c @@ -3006,7 +3006,13 @@ shell_resized_check() int old_Rows = Rows; int old_Columns = Columns; - if (!exiting) + if (!exiting +#ifdef FEAT_GUI + /* Do not get the size when executing a shell command during + * startup. */ + && !gui.starting +#endif + ) { (void)ui_get_shellsize(); check_shellsize(); |