re-add ansi line clearing after carriage return