Name
StartConsoleColorMode -- put console into color mode (V10.0)
Synopsis
StartConsoleColorMode([defcolor])
Library
console

Platforms
Linux, macOS, Windows

Function
This function puts the console in color mode. Normally, it's not necessary to call this function because all console library functions that operate in color mode will enable color mode automatically. There's one exception, though: If you don't want to use the default colors, you have to start color mode manually and set the defcolor argument to False. In that case color mode will be enabled but without using the default colors. Note that if you do that, it's important to call StartConsoleColorMode() before any other console library functions that might enable color mode so if you use this function the best idea is to call it right after EnableAdvancedConsole().

You must enable advanced console mode using EnableAdvancedConsole() before you can use this function. See EnableAdvancedConsole for details.

Inputs
defcolor
optional: whether or not to use the default colors (defaults to True)

Show TOC