patch 8.1.1201: output of :command is hard to read
Problem: Output of :command is hard to read.
Solution: Make some columns wider, some narrower. Truncate the command when
listing all.
diff --git a/src/getchar.c b/src/getchar.c
index b8c7b3f..e8a1f0f 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -4022,7 +4022,7 @@
msg_putchar(' ');
/* Display the LHS. Get length of what we write. */
- len = msg_outtrans_special(mp->m_keys, TRUE);
+ len = msg_outtrans_special(mp->m_keys, TRUE, 0);
do
{
msg_putchar(' '); /* padd with blanks */
@@ -4053,7 +4053,7 @@
if (s != NULL)
{
vim_unescape_csi(s);
- msg_outtrans_special(s, FALSE);
+ msg_outtrans_special(s, FALSE, 0);
vim_free(s);
}
}