writeLine allows reset before end of line