aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThiago de Arruda <tpadilha84@gmail.com>2015-01-10 22:44:29 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2015-01-13 21:21:20 -0300
commitdac1cee9076367b20273dfd2997cd5af60861f64 (patch)
treec5e8886ce5e204e3256c26ddc9f9ecd9fbe20892 /src
parentb4f516a36a5c15bd9a8722fea13101c0d06aa086 (diff)
downloadrneovim-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.
Diffstat (limited to 'src')
-rw-r--r--src/nvim/ui.c2
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;
}