Patch 8.1.0839
Problem: When using VTP wrong colors after a color scheme change.
Solution: When VTP is active always clear after a color scheme change.
(Nobuhiro Takasaki, closes #3872)
Files: src/ex_docmd.c
*** ../vim-8.1.0838/src/ex_docmd.c 2019-01-26 20:07:34.592237223 +0100
--- src/ex_docmd.c 2019-01-28 20:16:02.924257407 +0100
***************
*** 7211,7216 ****
--- 7211,7225 ----
}
else if (load_colors(eap->arg) == FAIL)
semsg(_("E185: Cannot find color scheme '%s'"), eap->arg);
+
+ #ifdef FEAT_VTP
+ else if (has_vtp_working())
+ {
+ // background color change requires clear + redraw
+ update_screen(CLEAR);
+ redrawcmd();
+ }
+ #endif
}
static void
*** ../vim-8.1.0838/src/version.c 2019-01-28 20:04:20.324937137 +0100
--- src/version.c 2019-01-28 20:17:42.931584922 +0100
***************
*** 785,786 ****
--- 785,788 ----
{ /* Add new patch number below this line */
+ /**/
+ 839,
/**/
--
The question is: What do you do with your life?
The wrong answer is: Become the richest guy in the graveyard.
(billionaire and Oracle founder Larry Ellison)
/// 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.