mazznoer / lolcrab

Like lolcat but with noise and more colorful.
MIT License
111 stars 1 forks source link

invert text in dark spots when not coloring background #6

Open deathtrip opened 2 years ago

deathtrip commented 2 years ago

When you use the -i option to color the background, letters that could blend with the background color are inverted, so they can still be visible. This isn't the case when the background isn't colored, so some parts of the text can become invisible. For me it happens with a black background and the darker gradients like magma or inferno, which can have black spots.

mazznoer commented 2 years ago

The problem is terminal background can be anything, dark, light, image, transparent, and we can not know what color is under certain character.

deathtrip commented 2 years ago

Maybe a command-line option to tell lolcrab the background color? Most people use single color backgrounds, and with images or transparent, fading shouldn't be such a big problem.