forked from aniani/vim
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.
This commit is contained in:
@@ -777,6 +777,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1750,
|
||||||
/**/
|
/**/
|
||||||
1749,
|
1749,
|
||||||
/**/
|
/**/
|
||||||
@@ -4641,6 +4643,8 @@ list_version(void)
|
|||||||
version_msg(_(" Features included (+) or not (-):\n"));
|
version_msg(_(" Features included (+) or not (-):\n"));
|
||||||
|
|
||||||
list_features();
|
list_features();
|
||||||
|
if (msg_col > 0)
|
||||||
|
msg_putchar('\n');
|
||||||
|
|
||||||
#ifdef SYS_VIMRC_FILE
|
#ifdef SYS_VIMRC_FILE
|
||||||
version_msg(_(" system vimrc file: \""));
|
version_msg(_(" system vimrc file: \""));
|
||||||
|
Reference in New Issue
Block a user