Gradient incorrect on light terminal themes
There's not really a fix for this other than to avoid gradients. On light terminal themes, the gradient should fade from black to white, not white to black. It ends up appearing like this:
Since absolutely every reasonable person uses a dark terminal theme it should be fine
More seriously, the visual glitch is fairly minor, so I'd prefer to avoid removing gradients just for that - I guess there isn't an environment variable describing whether the terminal is light / dark ? 😅
Interestingly, on my terminal (iTerm2) there's still a little visual glitch mid-way:
There's another issue concerning non-black-and-white terminals: the gradient color doesn't consistently match the color of the header line.
Here's how it renders in Jetbrains IDE terminals (default theme):
Here's how it renders in Jetbrains IDE terminals (colored theme);
And this is what it could render on colored terminal without the gradient:
While this might not be sufficient for removing the gradients, it's good to known that this issue also exists.