patch 8.1.1748: :args output is not aligned
Problem: :args output is not aligned.
Solution: Output a line break after the last item in a row.
diff --git a/src/version.c b/src/version.c
index 9554f9b..d1dde86 100644
--- a/src/version.c
+++ b/src/version.c
@@ -778,6 +778,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1748,
+/**/
1747,
/**/
1746,
@@ -4440,6 +4442,13 @@
msg_putchar(' ');
}
}
+ else
+ {
+ // this row is out of items, thus at the end of the row
+ if (msg_col > 0 && cur_row < nrow)
+ msg_putchar('\n');
+ ++cur_row;
+ }
}
}