Default behavior for console.set_color()
gertie last edited by gertie
console.set_color()takes r, g, b values, however prior to the 2.0 update (whether by design or through oversight) leaving the call parameters blank would "reset" the color, similar to
console.set_font()behavior. The most recent update seems to break this behavior. Now, leaving
set_color()blank doesn't change the color at all, and setting the color back to black, for instance, doesn't match the original console output if I've changed the color scheme for the app.
So as an example, I would use
console.set_color(255, 0, 0)to set console output red, then
console.set_color()to set it back to the default console color. When I'd written this behavior inside a loop, it allowed me to set the color of one specific part of my generated output. With the 2.0 release, the color stays red.
TLDR: Looking for way to use
console.set_color()to get back (i.e. reset) to the original, default console text color after setting some console output to a different color. Latest release breaks previous functionality.