Fix #4167 - Console posix adapter writeLine() background color bleeding through to the next line.
Merge branch 'hotfix/4168' into develop

Forward port #4168