0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

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.
This commit is contained in:
Bram Moolenaar
2019-04-24 23:08:23 +02:00
parent 31fc39e47b
commit 725310d89e
6 changed files with 59 additions and 31 deletions

View File

@@ -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);
}
}