1
0
mirror of https://github.com/rfivet/uemacs.git synced 2024-12-18 07:16:23 -05:00

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

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;
}