0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00

patch 8.0.1476: screen isn't always updated right away

Problem:    Screen isn't always updated right away.
Solution:   Adjust #ifdef: Call out_flush() when not running the GUI.
This commit is contained in:
Bram Moolenaar 2018-02-08 09:57:28 +01:00
parent f12519dec8
commit acda04f5c6
2 changed files with 4 additions and 3 deletions

View File

@ -474,9 +474,8 @@ redraw_after_callback(int call_update_screen)
* flicker. */ * flicker. */
out_flush_cursor(FALSE, FALSE); out_flush_cursor(FALSE, FALSE);
else else
#else
out_flush();
#endif #endif
out_flush();
--redrawing_for_callback; --redrawing_for_callback;
} }
@ -2795,7 +2794,7 @@ fold_line(
{ {
ScreenLinesUC[off + col] = fill_fold; ScreenLinesUC[off + col] = fill_fold;
ScreenLinesC[0][off + col] = 0; ScreenLinesC[0][off + col] = 0;
ScreenLines[off + col] = 0x80; /* avoid storing zero */ ScreenLines[off + col] = 0x80; /* avoid storing zero */
} }
else else
{ {

View File

@ -771,6 +771,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 */
/**/
1476,
/**/ /**/
1475, 1475,
/**/ /**/