patch 9.1.1436: GUI control code is displayed on the console on startup
Problem: GUI control code is displayed on the console on startup Solution: check if Vim is starting up (Hirohito Higashi) closes: #17456 Signed-off-by: Hirohito Higashi <h.east.727@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
2897a8d040
commit
ce2769b5fe
@ -709,6 +709,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1436,
|
||||||
/**/
|
/**/
|
||||||
1435,
|
1435,
|
||||||
/**/
|
/**/
|
||||||
|
|||||||
@ -6227,7 +6227,7 @@ shell_new_columns(void)
|
|||||||
if (!skip_win_fix_scroll)
|
if (!skip_win_fix_scroll)
|
||||||
win_fix_scroll(TRUE);
|
win_fix_scroll(TRUE);
|
||||||
#ifdef FEAT_GUI
|
#ifdef FEAT_GUI
|
||||||
if (gui.in_use)
|
if (gui.in_use && !gui.starting)
|
||||||
{
|
{
|
||||||
if (scroll_region)
|
if (scroll_region)
|
||||||
scroll_region_reset();
|
scroll_region_reset();
|
||||||
|
|||||||
Reference in New Issue
Block a user