When the next history line is one char shorter than the previous the last char is not displayed correctly.