Jason Franklin wrote:
> Environment: GNOME Terminal on Ubuntu 18.04
> git bisect shows this commit as changing the colors of my terminal window.
> See before and after images attached.
> I can fix the problem with:
>
> diff --git a/src/terminal.c b/src/terminal.c
> index c7dc23f90..8bea9481a 100644
> --- a/src/terminal.c
> +++ b/src/terminal.c
> @@ -2434,7 +2434,7 @@ color2index(VTermColor *color, int fg, int *boldp)
> {
> /* First 16 colors and default: use the ANSI index, because these
> * colors can be redefined, we use the RGB values. */
> - if (t_colors > 256)
> + if (t_colors >= 256)
> return color->ansi_index;
> switch (color->ansi_index)
> {
>
> As usual, feedback/explanation is appreciated. :)
That code has already changed, the condition was removed. And it works
fine for most users. Perhaps you need to adjust your setup?
--
A parent can be arrested if his child cannot hold back a burp during a church
service.
[real standing law in Nebraska, United States of America]
/// 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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/201905071929.x47JTRt1032697%40masaka.moolenaar.net.
For more options, visit https://groups.google.com/d/optout.