Patch 8.1.0938
Problem: Background color is wrong in MS-Windows console when not using VTP.
Solution: Use g_attrCurrent. (Nobuhiro Takasaki, closes #3987)
Files: src/os_win32.c
*** ../vim-8.1.0937/src/os_win32.c 2019-02-16 16:47:58.126925258 +0100
--- src/os_win32.c 2019-02-17 14:08:22.838683073 +0100
***************
*** 6031,6037 ****
{
fill.Char.AsciiChar = ' ';
! fill.Attributes = g_attrDefault;
set_console_color_rgb();
--- 6031,6040 ----
{
fill.Char.AsciiChar = ' ';
! if (!USE_VTP)
! fill.Attributes = g_attrCurrent;
! else
! fill.Attributes = g_attrDefault;
set_console_color_rgb();
***************
*** 6085,6091 ****
{
fill.Char.AsciiChar = ' ';
! fill.Attributes = g_attrDefault;
set_console_color_rgb();
--- 6088,6097 ----
{
fill.Char.AsciiChar = ' ';
! if (!USE_VTP)
! fill.Attributes = g_attrCurrent;
! else
! fill.Attributes = g_attrDefault;
set_console_color_rgb();
*** ../vim-8.1.0937/src/version.c 2019-02-17 13:53:31.600227794 +0100
--- src/version.c 2019-02-17 14:10:41.777818565 +0100
***************
*** 781,782 ****
--- 781,784 ----
{ /* Add new patch number below this line */
+ /**/
+ 938,
/**/
--
Never under any circumstances take a sleeping pill
and a laxative on the same night.
/// Bram Moolenaar -- [email protected] -- 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 ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.