Option -X ColorfulConsole was not working, for several reasons:
The fag mask used to set colors was incorrect, resulting all colors be coerced to either white or black.
The fallback color was white, which for white background always resulted in the text being invisible (macOS default console has white background).
The background detection was working only on Windows, on Unix, the background color is unknown. So to make this option usable on Unix systems, I extended it with an optional parameter of value dark or light. To prevent proliferation of constructor parameters and the number of constructors of BasicConsole and SuperConsole, they both got a constructor that accepts ConsoleOptions and picks up the option it can understand.
Option
-X ColorfulConsole
was not working, for several reasons:BasicConsole
andSuperConsole
, they both got a constructor that acceptsConsoleOptions
and picks up the option it can understand.