fix last line truncation in vt100