diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-10-30 00:56:49 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-02-16 07:49:44 -0500 |
commit | 7955c05accaac452c1350d08af62d9d75387f24f (patch) | |
tree | f04f3f3522984b2ddf638e9785631dc128afea19 /src/nvim/getchar.c | |
parent | 986eafce4708c8f49552d7dcd0cc5fe471caa655 (diff) | |
download | rneovim-7955c05accaac452c1350d08af62d9d75387f24f.tar.gz rneovim-7955c05accaac452c1350d08af62d9d75387f24f.tar.bz2 rneovim-7955c05accaac452c1350d08af62d9d75387f24f.zip |
vim-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.
https://github.com/vim/vim/commit/725310d89e1ba268bf410472b7de054c6c260161
Diffstat (limited to 'src/nvim/getchar.c')
-rw-r--r-- | src/nvim/getchar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/getchar.c b/src/nvim/getchar.c index d70d04cb4b..0debd39555 100644 --- a/src/nvim/getchar.c +++ b/src/nvim/getchar.c @@ -3361,7 +3361,7 @@ showmap ( msg_putchar(' '); // Display the LHS. Get length of what we write. - len = (size_t)msg_outtrans_special(mp->m_keys, true); + len = (size_t)msg_outtrans_special(mp->m_keys, true, 0); do { msg_putchar(' '); /* padd with blanks */ ++len; @@ -3389,7 +3389,7 @@ showmap ( // as typeahead. char_u *s = vim_strsave(mp->m_str); vim_unescape_csi(s); - msg_outtrans_special(s, FALSE); + msg_outtrans_special(s, false, 0); xfree(s); } if (p_verbose > 0) { |