summaryrefslogtreecommitdiff
path: root/src/getchar.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-04-24 23:08:23 +0200
committerBram Moolenaar <Bram@vim.org>2019-04-24 23:08:23 +0200
commit725310d89e1ba268bf410472b7de054c6c260161 (patch)
tree821ec66709f77619bf8a8b8051f640496f8e90d4 /src/getchar.c
parent31fc39e47b3cc5e9ef4fa05943d42a4fb22de55e (diff)
downloadvim-git-725310d89e1ba268bf410472b7de054c6c260161.tar.gz
patch 8.1.1201: output of :command is hard to readv8.1.1201
Problem: Output of :command is hard to read. Solution: Make some columns wider, some narrower. Truncate the command when listing all.
Diffstat (limited to 'src/getchar.c')
-rw-r--r--src/getchar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/getchar.c b/src/getchar.c
index b8c7b3f3a..e8a1f0f5a 100644
--- a/src/getchar.c
+++ b/src/getchar.c
@@ -4022,7 +4022,7 @@ showmap(
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 @@ showmap(
if (s != NULL)
{
vim_unescape_csi(s);
- msg_outtrans_special(s, FALSE);
+ msg_outtrans_special(s, FALSE, 0);
vim_free(s);
}
}