Problem
Some terminals do not expose their default background color. In those cases, default_blending_color currently falls back to Color::BLACK. While this fallback color is close enough to what most terminals use, it doesn't cover all cases.
We do have override_default_blending_color(), but unless the developer decides to implement a solution for this exact problem, the end-user is left with a worse experience.
Solution
My proposed solution is to introduce an environment variable that would act as an extra fallback before Color::BLACK. This feature would give some more control to power users, without relying on the developers.
Problem
Some terminals do not expose their default background color. In those cases,
default_blending_colorcurrently falls back toColor::BLACK. While this fallback color is close enough to what most terminals use, it doesn't cover all cases.We do have
override_default_blending_color(), but unless the developer decides to implement a solution for this exact problem, the end-user is left with a worse experience.Solution
My proposed solution is to introduce an environment variable that would act as an extra fallback before
Color::BLACK. This feature would give some more control to power users, without relying on the developers.