Kurtis Rader <kra...@skepticism.us> writes:

> Grondinm sent the following directly to me so reproducing here so it's also
> in the message thread:
>
> Screenshots here https://imgur.com/a/jbImL
>> So that command does seem to return the expected results. But as you can
>> see if i set a theme from fish_config then open up a fresh xterm only the
>> text colors have changed not the background.
>
>
> Okay, the first thing to note is that most of those themes assume you have
> a terminal that can display not only 256 colors but also supports 24bit
> color escape sequences. Fish will mostly do the right thing if your TERM
> name contains "256color"; e.g.,
>
> set -x TERM xterm-256color
>
> If you know your terminal emulator supports the ANSI X3.64 256 color
> palette but there isn't an appropriate TERM name you can force fish to
> enable 256 color support with
>
> set -U fish_term256 1
>
> The colors however may not exactly match what you see in the browser unless
> you also
>
> set -U fish_term24bit 1
>
> That's because if the terminal only supports the 256 color palette fish
> will map the 24bit color values to the closest equivalent color in that
> palette. Of course don't do that if xfce-term doesn't support 24bit color
> values (aka "true color" support).

It's actually much simpler than that: The background is not part of the
theme - see https://github.com/fish-shell/fish-shell/issues/2421.

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
_______________________________________________
Fish-users mailing list
Fish-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fish-users

Reply via email to