diff --git a/src/eval.c b/src/eval.c index e5e787b5e0..56bb21f9be 100644 --- a/src/eval.c +++ b/src/eval.c @@ -8319,6 +8319,15 @@ ex_execute(exarg_T *eap) if (ret != FAIL && ga.ga_data != NULL) { + if (eap->cmdidx == CMD_echomsg || eap->cmdidx == CMD_echoerr) + { + /* Mark the already saved text as finishing the line, so that what + * follows is displayed on a new line when scrolling back at the + * more prompt. */ + msg_sb_eol(); + msg_start(); + } + if (eap->cmdidx == CMD_echomsg) { MSG_ATTR(ga.ga_data, echo_attr); diff --git a/src/version.c b/src/version.c index 4737663087..9aad9b6133 100644 --- a/src/version.c +++ b/src/version.c @@ -764,6 +764,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 467, /**/ 466, /**/