comparison src/term.c @ 31800:ea09e0f546f0 v9.0.1232

patch 9.0.1232: ColorTable saving and restoring does not work properly Commit: https://github.com/vim/vim/commit/d343c60df4b0adc6b1baac4d68a72a735ac21dc4 Author: Christopher Plewright <chris@createng.com> Date: Sun Jan 22 18:58:30 2023 +0000 patch 9.0.1232: ColorTable saving and restoring does not work properly Problem: ColorTable saving and restoring does not work properly. Solution: Restore ColorTable[16] usage. (Christopher Plewright, closes #11836)
author Bram Moolenaar <Bram@vim.org>
date Sun, 22 Jan 2023 20:00:06 +0100
parents 1e21d10ceb58
children e279b756475b
comparison
equal deleted inserted replaced
31799:d4674c1fd5d9 31800:ea09e0f546f0
3220 if (*s == NUL) 3220 if (*s == NUL)
3221 return; 3221 return;
3222 vim_snprintf(buf, MAX_COLOR_STR_LEN, 3222 vim_snprintf(buf, MAX_COLOR_STR_LEN,
3223 (char *)s, RED(rgb), GREEN(rgb), BLUE(rgb)); 3223 (char *)s, RED(rgb), GREEN(rgb), BLUE(rgb));
3224 #ifdef FEAT_VTP 3224 #ifdef FEAT_VTP
3225 if (has_vtp_working()) 3225 if (use_wt())
3226 { 3226 {
3227 out_flush(); 3227 out_flush();
3228 buf[1] = '['; 3228 buf[1] = '[';
3229 vtp_printf(buf); 3229 vtp_printf(buf);
3230 } 3230 }