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-13 21:21:20 -0300 |
commit | dac1cee9076367b20273dfd2997cd5af60861f64 (patch) | |
tree | c5e8886ce5e204e3256c26ddc9f9ecd9fbe20892 | |
parent | b4f516a36a5c15bd9a8722fea13101c0d06aa086 (diff) | |
download | rneovim-dac1cee9076367b20273dfd2997cd5af60861f64.tar.gz rneovim-dac1cee9076367b20273dfd2997cd5af60861f64.tar.bz2 rneovim-dac1cee9076367b20273dfd2997cd5af60861f64.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.
-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 77ab948809..914b04111e 100644 --- a/src/nvim/ui.c +++ b/src/nvim/ui.c @@ -482,7 +482,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; } |