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.
diff --git a/src/screen.c b/src/screen.c
index 9256fbd..f365be2 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -474,9 +474,8 @@
* flicker. */
out_flush_cursor(FALSE, FALSE);
else
-#else
- out_flush();
#endif
+ out_flush();
--redrawing_for_callback;
}
@@ -2795,7 +2794,7 @@
{
ScreenLinesUC[off + col] = fill_fold;
ScreenLinesC[0][off + col] = 0;
- ScreenLines[off + col] = 0x80; /* avoid storing zero */
+ ScreenLines[off + col] = 0x80; /* avoid storing zero */
}
else
{