You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fish --version : current git build (3.2.0-44-g4218c1f1a-dirty)
OS: ArchLinux, terminals: all
Problem: set_color --print-colors outputs every named color (except 'normal') in bold, even the non-br-ones. For colorschemes that define dedicated "bright" colors, this is inaccurate. It also means that the --dim switch does not work (it gets converted to bold+dim = bold font, but in normal color).
I patched builtin_set_colors.cpp to print the escape sequences to pipes/files, this yields:
What happens here is that fish has a special case where it'll enable bold mode whenever the background is on "to make reading easier". That's pretty dubious to begin with, but removing it is probably a bigger change.
set_color runs into this because it sets a background color of "none". Fix incoming.
Ah, string escape is certainly much nicer than od, thanks for the tip. Is there any way to display the escape sequences without patching fish first? (As far as I could tell they are always omitted if output is to a pipe or file.)