Additionally note that the format syntax handles Walter's concerns here: http://forum.dlang.org/post/[email protected]
The color format syntax uses a pair of matched parentheses, and thus makes it impossible to leave the console in a different state than when the formatting call was entered.
Lower level stuff like terminal functions dedicated specifically to saving/restoring state would make sense and be used underneath the formatter to accomplish what it does.
