Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.
Default behavior for console.set_color()
-
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 toconsole.set_font()
behavior. The most recent update seems to break this behavior. Now, leavingset_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, thenconsole.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.