]> granicus.if.org Git - vim/commitdiff
patch 8.0.1476: screen isn't always updated right away v8.0.1476
authorBram Moolenaar <Bram@vim.org>
Thu, 8 Feb 2018 08:57:28 +0000 (09:57 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 8 Feb 2018 08:57:28 +0000 (09:57 +0100)
Problem:    Screen isn't always updated right away.
Solution:   Adjust #ifdef: Call out_flush() when not running the GUI.

src/screen.c
src/version.c

index 9256fbd1e6f85bc68e50b853055354dbf755ff0a..f365be2231b218f073736e7bd5e558ab85f4b75d 100644 (file)
@@ -474,9 +474,8 @@ redraw_after_callback(int call_update_screen)
         * flicker. */
        out_flush_cursor(FALSE, FALSE);
     else
-#else
-       out_flush();
 #endif
+       out_flush();
 
     --redrawing_for_callback;
 }
@@ -2795,7 +2794,7 @@ fold_line(
            {
                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
            {
index 98a913297cc70592ca5cbdb564b7b3903e380cd2..795411c764e2afe0dc8236ff3f25497796d69494 100644 (file)
@@ -771,6 +771,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1476,
 /**/
     1475,
 /**/