From 725310d89e1ba268bf410472b7de054c6c260161 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 24 Apr 2019 23:08:23 +0200 Subject: 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. --- src/getchar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/getchar.c') 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); } } -- cgit v1.2.1