diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-02-08 09:57:28 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-02-08 09:57:28 +0100 |
commit | acda04f5c641330cd589ca52eb61d1ab0d62385f (patch) | |
tree | 7545da5b44076c90df18ce39e1d69e555e4dc6fc | |
parent | f12519dec88251305793f1651f558d16506b4be2 (diff) |
patch 8.0.1476: screen isn't always updated right awayv8.0.1476
Problem: Screen isn't always updated right away.
Solution: Adjust #ifdef: Call out_flush() when not running the GUI.
-rw-r--r-- | src/screen.c | 5 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/screen.c b/src/screen.c index 9256fbd1e6..f365be2231 100644 --- a/src/screen.c +++ b/src/screen.c @@ -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 { diff --git a/src/version.c b/src/version.c index 98a913297c..795411c764 100644 --- a/src/version.c +++ b/src/version.c @@ -772,6 +772,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1476, +/**/ 1475, /**/ 1474, |