diff options
author | Thiago de Arruda <tpadilha84@gmail.com> | 2015-01-10 22:44:29 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2015-01-12 09:47:41 -0300 |
commit | 7703fd328c44793cc3793fe4c2bf1b58d63dec45 (patch) | |
tree | 082db6f60c90b125e9d2f96ff6c8b2742b1795fd /src/nvim/ui.c | |
parent | e1da130ca9bb132335e4255421fded3e80ca4fad (diff) | |
download | rneovim-7703fd328c44793cc3793fe4c2bf1b58d63dec45.tar.gz rneovim-7703fd328c44793cc3793fe4c2bf1b58d63dec45.tar.bz2 rneovim-7703fd328c44793cc3793fe4c2bf1b58d63dec45.zip |
ui: Use ui_linefeed to handle line breaks correctly
ui_linefeed will scroll the screen when it becomes full. This can happen when
executing external commands.
Diffstat (limited to 'src/nvim/ui.c')
-rw-r--r-- | src/nvim/ui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ui.c b/src/nvim/ui.c index 5b28cf2243..d66be0f8df 100644 --- a/src/nvim/ui.c +++ b/src/nvim/ui.c @@ -479,7 +479,7 @@ static void parse_abstract_ui_codes(uint8_t *ptr, int len) col++; } if (col >= width) { - ui_cursor_goto(row + 1, 0); + ui_linefeed(); } p += clen; } |