From: Bram Moolenaar Date: Fri, 26 Jul 2019 17:48:19 +0000 (+0200) Subject: patch 8.1.1750: depending on the terminal width :version may miss a line break X-Git-Tag: v8.1.1750 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8a5c29aee978345132ad7f318b8a84633c33905c;p=thirdparty%2Fvim.git patch 8.1.1750: depending on the terminal width :version may miss a line break Problem: Depending on the terminal width :version may miss a line break. Solution: Add a line break when needed. --- diff --git a/src/version.c b/src/version.c index 1a65cef769..5c7507845a 100644 --- a/src/version.c +++ b/src/version.c @@ -777,6 +777,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1750, /**/ 1749, /**/ @@ -4641,6 +4643,8 @@ list_version(void) version_msg(_(" Features included (+) or not (-):\n")); list_features(); + if (msg_col > 0) + msg_putchar('\n'); #ifdef SYS_VIMRC_FILE version_msg(_(" system vimrc file: \""));