Fixed wrapping of long lines, does not overwrite prompt but goes to next line.