comparison src/term.c @ 20589:ecaceb5c5644 v8.2.0848

patch 8.2.0848: MS-Windows: the Windows terminal code has some flaws Commit: https://github.com/vim/vim/commit/06b7b58455f9c09be3d1c36d174ffbfdf4efcd79 Author: Bram Moolenaar <Bram@vim.org> Date: Sat May 30 17:49:25 2020 +0200 patch 8.2.0848: MS-Windows: the Windows terminal code has some flaws Problem: MS-Windows: the Windows terminal code has some flaws. Solution: Do not redraw the right edge of the screen. Remove the background color trick. Flush the screen output buffer often. (Nobuhiro Takasaki, #5546)
author Bram Moolenaar <Bram@vim.org>
date Sat, 30 May 2020 18:00:04 +0200
parents bed30e6b5a09
children 4411c2b96af9
comparison
equal deleted inserted replaced
20588:7d6b68ad708c 20589:ecaceb5c5644
2954 #define MAX_COLOR_STR_LEN 100 2954 #define MAX_COLOR_STR_LEN 100
2955 char buf[MAX_COLOR_STR_LEN]; 2955 char buf[MAX_COLOR_STR_LEN];
2956 2956
2957 vim_snprintf(buf, MAX_COLOR_STR_LEN, 2957 vim_snprintf(buf, MAX_COLOR_STR_LEN,
2958 (char *)s, RED(rgb), GREEN(rgb), BLUE(rgb)); 2958 (char *)s, RED(rgb), GREEN(rgb), BLUE(rgb));
2959 OUT_STR(buf); 2959 #ifdef FEAT_VTP
2960 if (use_wt())
2961 {
2962 out_flush();
2963 buf[1] = '[';
2964 vtp_printf(buf);
2965 }
2966 else
2967 #endif
2968 OUT_STR(buf);
2960 } 2969 }
2961 2970
2962 void 2971 void
2963 term_fg_rgb_color(guicolor_T rgb) 2972 term_fg_rgb_color(guicolor_T rgb)
2964 { 2973 {