diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-07-26 19:48:19 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-07-26 19:48:19 +0200 |
commit | 8a5c29aee978345132ad7f318b8a84633c33905c (patch) | |
tree | 6e452a40fe6199f5a66ba03190a12cc0fa066a5a | |
parent | 736cd2cfbe83b85259eecc7d70e68297ce968d33 (diff) | |
download | vim-git-8a5c29aee978345132ad7f318b8a84633c33905c.tar.gz |
patch 8.1.1750: depending on the terminal width :version may miss a line breakv8.1.1750
Problem: Depending on the terminal width :version may miss a line break.
Solution: Add a line break when needed.
-rw-r--r-- | src/version.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/version.c b/src/version.c index 1a65cef76..5c7507845 100644 --- a/src/version.c +++ b/src/version.c @@ -778,6 +778,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1750, +/**/ 1749, /**/ 1748, @@ -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: \"")); |