On Monday, 22 October 2012 at 12:30:38 UTC, Jens Mueller wrote:
But my research concluded that there is no such way on Posix.
Yeah, if there was a way to get current colors, you wouldn't have to set environment variables for programs like vi to know if the background is light or dark.
It's a pity the unix designers didn't change the definition slightly of the text palette way back when so you didn't have to know anyway...
