Fix #4167 - Console posix adapter writeLine() background color bleeding through to the next line.