logoalt Hacker News

JoshTriplettyesterday at 4:49 PM1 replyview on HN

CLI apps can detect the background color of the terminal, and determine contrasting colors accordingly.


Replies

takluyveryesterday at 4:54 PM

They can? Is this a recent thing? I remember wanting to detect the background colour years ago, and not finding any way to do it.

show 1 reply