Skip to content

Commit acda04f

Browse files
committed
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.
1 parent f12519d commit acda04f

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

src/screen.c

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -474,9 +474,8 @@ redraw_after_callback(int call_update_screen)
474474
* flicker. */
475475
out_flush_cursor(FALSE, FALSE);
476476
else
477-
#else
478-
out_flush();
479477
#endif
478+
out_flush();
480479

481480
--redrawing_for_callback;
482481
}
@@ -2795,7 +2794,7 @@ fold_line(
27952794
{
27962795
ScreenLinesUC[off + col] = fill_fold;
27972796
ScreenLinesC[0][off + col] = 0;
2798-
ScreenLines[off + col] = 0x80; /* avoid storing zero */
2797+
ScreenLines[off + col] = 0x80; /* avoid storing zero */
27992798
}
28002799
else
28012800
{

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,8 @@ static char *(features[]) =
771771

772772
static int included_patches[] =
773773
{ /* Add new patch number below this line */
774+
/**/
775+
1476,
774776
/**/
775777
1475,
776778
/**/

0 commit comments

Comments
 (0)