comparison src/screen.c @ 13204:a8a154cafc60 v8.0.1476

patch 8.0.1476: screen isn't always updated right away commit https://github.com/vim/vim/commit/acda04f5c641330cd589ca52eb61d1ab0d62385f Author: Bram Moolenaar <Bram@vim.org> Date: Thu Feb 8 09:57:28 2018 +0100 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.
author Christian Brabandt <cb@256bit.org>
date Thu, 08 Feb 2018 10:00:06 +0100
parents 808625d4b71b
children ac42c4b11dbc
comparison
equal deleted inserted replaced
13203:eafbec5a9528 13204:a8a154cafc60
472 if (gui.in_use && !gui_mch_is_blink_off()) 472 if (gui.in_use && !gui_mch_is_blink_off())
473 /* Don't update the cursor when it is blinking and off to avoid 473 /* Don't update the cursor when it is blinking and off to avoid
474 * flicker. */ 474 * flicker. */
475 out_flush_cursor(FALSE, FALSE); 475 out_flush_cursor(FALSE, FALSE);
476 else 476 else
477 #else 477 #endif
478 out_flush(); 478 out_flush();
479 #endif
480 479
481 --redrawing_for_callback; 480 --redrawing_for_callback;
482 } 481 }
483 482
484 /* 483 /*
2793 { 2792 {
2794 if (fill_fold >= 0x80) 2793 if (fill_fold >= 0x80)
2795 { 2794 {
2796 ScreenLinesUC[off + col] = fill_fold; 2795 ScreenLinesUC[off + col] = fill_fold;
2797 ScreenLinesC[0][off + col] = 0; 2796 ScreenLinesC[0][off + col] = 0;
2798 ScreenLines[off + col] = 0x80; /* avoid storing zero */ 2797 ScreenLines[off + col] = 0x80; /* avoid storing zero */
2799 } 2798 }
2800 else 2799 else
2801 { 2800 {
2802 ScreenLinesUC[off + col] = 0; 2801 ScreenLinesUC[off + col] = 0;
2803 ScreenLines[off + col] = fill_fold; 2802 ScreenLines[off + col] = fill_fold;