Insure that last character of the message line is displayed.

This commit is contained in:
Renaud 2015-01-23 12:13:52 +08:00
parent 09d5907f9e
commit 5a235ecf8c
1 changed files with 3 additions and 2 deletions

View File

@ -1413,8 +1413,9 @@ void mlwrite(const char *fmt, ...)
va_end(ap);
/* if we can, erase to the end of screen */
if (eolexist == TRUE)
TTeeol();
if( eolexist == TRUE && ttcol < term.t_ncol)
TTeeol() ;
TTflush();
mpresf = TRUE;
}