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

Close #4164
Merge pull request #4168 from Thinkscape/hotfix/console-writeline

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

Forward port #4168