dankamongmen / notcurses

blingful character graphics/TUI library. definitely not curses.
https://nick-black.com/dankwiki/index.php/Notcurses
Other
3.61k stars 114 forks source link

use existing palette to color notcurses-info gradient #2568

Closed dankamongmen closed 2 years ago

dankamongmen commented 2 years ago

rather than encoding an explicit gradient into notcurses-info, we ought use elements from the existing palette. this will make it friendlier to the kids in r/unixporn, i imagine.

dankamongmen commented 2 years ago

done! if the palette can't be detected, the background will be black throughout. confirmed that st 0.8.4 has a black background, while st 0.8.5 does not.