Mercurial > vim
changeset 17504:5d63aa71efe1 v8.1.1750
patch 8.1.1750: depending on the terminal width :version may miss a line break
commit https://github.com/vim/vim/commit/8a5c29aee978345132ad7f318b8a84633c33905c
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jul 26 19:48:19 2019 +0200
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 26 Jul 2019 20:00:07 +0200 |
parents | 638669fc0f65 |
children | a76219d230b3 |
files | src/version.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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: \""));