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/tui | |
| 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/tui')
| -rw-r--r-- | src/nvim/tui/terminfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/tui/terminfo.c b/src/nvim/tui/terminfo.c index 03173afe07..7dfe7ab953 100644 --- a/src/nvim/tui/terminfo.c +++ b/src/nvim/tui/terminfo.c @@ -187,7 +187,7 @@ void terminfo_info_msg(const unibi_term *const ut) msg_printf_attr(0, " %-25s %-10s = ", unibi_name_str(i), unibi_short_name_str(i)); // Most of these strings will contain escape sequences. - msg_outtrans_special((char_u *)s, false); + msg_outtrans_special((char_u *)s, false, 0); msg_putchar('\n'); } } @@ -214,7 +214,7 @@ void terminfo_info_msg(const unibi_term *const ut) msg_puts("Extended string capabilities:\n"); for (size_t i = 0; i < unibi_count_ext_str(ut); i++) { msg_printf_attr(0, " %-25s = ", unibi_get_ext_str_name(ut, i)); - msg_outtrans_special((char_u *)unibi_get_ext_str(ut, i), false); + msg_outtrans_special((char_u *)unibi_get_ext_str(ut, i), false, 0); msg_putchar('\n'); } } |