diff options
-rw-r--r-- | src/nvim/ui.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/ui.c b/src/nvim/ui.c index b37bc92b1a..cd8c3b73e6 100644 --- a/src/nvim/ui.c +++ b/src/nvim/ui.c @@ -458,6 +458,9 @@ static void parse_abstract_ui_codes(uint8_t *ptr, int len) UI_CALL(put, NULL, 0); col++; } + if (col >= width) { + ui_cursor_goto(row + 1, 0); + } p += clen; } ptr = p; |