diff options
author | Bram Moolenaar <Bram@vim.org> | 2010-12-30 14:47:36 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2010-12-30 14:47:36 +0100 |
commit | 9980835c68a718ac8616b85f595c5f957667e9a2 (patch) | |
tree | 85e8a93fd85fcb38c9ec16933b543e26072aff6f /src/term.c | |
parent | 946ffd4606e2b5011fdddb0c87dc7d8b4548a657 (diff) | |
download | vim-git-9980835c68a718ac8616b85f595c5f957667e9a2.tar.gz |
updated for version 7.3.092v7.3.092
Problem: Resizing the window when exiting.
Solution: Don't resize when exiting.
Diffstat (limited to 'src/term.c')
-rw-r--r-- | src/term.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/term.c b/src/term.c index 15a386493..f41c477c4 100644 --- a/src/term.c +++ b/src/term.c @@ -3053,10 +3053,13 @@ shell_resized_check() int old_Rows = Rows; int old_Columns = Columns; - (void)ui_get_shellsize(); - check_shellsize(); - if (old_Rows != Rows || old_Columns != Columns) - shell_resized(); + if (!exiting) + { + (void)ui_get_shellsize(); + check_shellsize(); + if (old_Rows != Rows || old_Columns != Columns) + shell_resized(); + } } /* |