DUB colored output proposal/showcase

gdelazzari giacky98.mail at gmail.com
Fri Jun 8 22:45:10 UTC 2018


On Friday, 8 June 2018 at 20:41:41 UTC, Jacob Carlborg wrote:
> On 2018-06-08 15:38, Steven Schveighoffer wrote:
>
>> Note on some platforms (ahem, Macos) the background is white, 
>> so this should be correctly colored for that possibility.
>
> I would assume that the theme of the terminal is setup so that 
> all colors (except white and black) work together with the 
> background color of the theme.

Actually, I was thinking about that too. In fact, what if a user 
is using a "classic" dark-background theme on macOS's terminal? 
Or another terminal which by default uses a dark background, like 
the one mentioned above? He would get all the colors and the text 
contrast messed up if I put a different color scheme for macOS 
only. The only valid option would be to check the background 
color of the terminal, but I don't think that's possible at all 
in a standardized way, unless someone can prove me wrong. That 
would be cool.


More information about the Digitalmars-d mailing list