forked from aniani/vim
updated for version 7.3.092
Problem: Resizing the window when exiting. Solution: Don't resize when exiting.
This commit is contained in:
11
src/term.c
11
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();
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user