Bugfix: colour reset after output is now flushed