To: vim_dev@googlegroups.com Subject: Patch 8.2.0890 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.0890 Problem: No color in terminal window when 'termguicolor' is set. Solution: Clear the underline color. (closes #6186) Files: src/highlight.c *** ../vim-8.2.0889/src/highlight.c 2020-05-31 16:41:04.646603340 +0200 --- src/highlight.c 2020-06-02 23:16:05.904351265 +0200 *************** *** 2230,2239 **** --- 2230,2241 ---- #ifdef FEAT_TERMGUICOLORS at_en.ae_u.cterm.fg_rgb = INVALCOLOR; at_en.ae_u.cterm.bg_rgb = INVALCOLOR; + at_en.ae_u.cterm.ul_rgb = INVALCOLOR; #endif at_en.ae_attr = attr; at_en.ae_u.cterm.fg_color = fg; at_en.ae_u.cterm.bg_color = bg; + at_en.ae_u.cterm.ul_color = INVALCOLOR; return get_attr_entry(&cterm_attr_table, &at_en); } #endif *************** *** 2262,2267 **** --- 2264,2270 ---- at_en.ae_u.cterm.fg_rgb = fg; at_en.ae_u.cterm.bg_rgb = bg; } + at_en.ae_u.cterm.ul_rgb = INVALCOLOR; return get_attr_entry(&cterm_attr_table, &at_en); } #endif *** ../vim-8.2.0889/src/version.c 2020-06-02 22:24:33.153439212 +0200 --- src/version.c 2020-06-02 22:43:12.450608910 +0200 *************** *** 748,749 **** --- 748,751 ---- { /* Add new patch number below this line */ + /**/ + 890, /**/ -- hundred-and-one symptoms of being an internet addict: 262. Your computer has it's own phone line - but your daughter doesn't. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///