mirror of
https://github.com/zoriya/vim.git
synced 2025-12-20 14:15:18 +00:00
updated for version 7.0-150
This commit is contained in:
33
src/term.c
33
src/term.c
@@ -3137,25 +3137,32 @@ set_shellsize(width, height, mustset)
|
||||
screenalloc(FALSE);
|
||||
repeat_message();
|
||||
}
|
||||
else if (State & CMDLINE)
|
||||
{
|
||||
update_screen(NOT_VALID);
|
||||
redrawcmdline();
|
||||
}
|
||||
else
|
||||
{
|
||||
update_topline();
|
||||
#if defined(FEAT_INS_EXPAND)
|
||||
if (pum_visible())
|
||||
#ifdef FEAT_SCROLLBIND
|
||||
if (curwin->w_p_scb)
|
||||
do_check_scrollbind(TRUE);
|
||||
#endif
|
||||
if (State & CMDLINE)
|
||||
{
|
||||
redraw_later(NOT_VALID);
|
||||
ins_compl_show_pum(); /* This includes the redraw. */
|
||||
update_screen(NOT_VALID);
|
||||
redrawcmdline();
|
||||
}
|
||||
else
|
||||
{
|
||||
update_topline();
|
||||
#if defined(FEAT_INS_EXPAND)
|
||||
if (pum_visible())
|
||||
{
|
||||
redraw_later(NOT_VALID);
|
||||
ins_compl_show_pum(); /* This includes the redraw. */
|
||||
}
|
||||
else
|
||||
#endif
|
||||
update_screen(NOT_VALID);
|
||||
if (redrawing())
|
||||
setcursor();
|
||||
update_screen(NOT_VALID);
|
||||
if (redrawing())
|
||||
setcursor();
|
||||
}
|
||||
}
|
||||
cursor_on(); /* redrawing may have switched it off */
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user