To: vim_dev@googlegroups.com Subject: Patch 8.2.3653 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.3653 Problem: Terminal ANSI colors may be wrong. Solution: Initialize the color type. (closes #9198, closes #9197) Files: src/terminal.c *** ../vim-8.2.3652/src/terminal.c 2021-11-21 14:51:09.929191583 +0000 --- src/terminal.c 2021-11-23 12:03:32.040987950 +0000 *************** *** 4130,4135 **** --- 4130,4136 ---- { VTermColor color; + color.type = VTERM_COLOR_RGB; color.red = (unsigned)(rgb[index] >> 16); color.green = (unsigned)(rgb[index] >> 8) & 255; color.blue = (unsigned)rgb[index] & 255; *** ../vim-8.2.3652/src/version.c 2021-11-23 11:46:12.409848336 +0000 --- src/version.c 2021-11-23 12:06:13.217543580 +0000 *************** *** 759,760 **** --- 759,762 ---- { /* Add new patch number below this line */ + /**/ + 3653, /**/ -- It is illegal for a driver to be blindfolded while operating a vehicle. [real standing law in Alabama, United States of America] /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///