From 5a235ecf8c824d6183a9fa2e349f27fef8a26c51 Mon Sep 17 00:00:00 2001 From: Renaud Fivet Date: Fri, 23 Jan 2015 12:13:52 +0800 Subject: [PATCH] Insure that last character of the message line is displayed. --- display.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/display.c b/display.c index 6aac07a..2881b42 100644 --- a/display.c +++ b/display.c @@ -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; }