term: print: reset ‘col’ after padding the right margin

This commit is contained in:
Daniel Eklöf 2021-11-21 14:47:24 +01:00
parent 315769b50b
commit 5b176dd5d6
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -3196,6 +3196,7 @@ term_print(struct terminal *term, wchar_t wc, int width)
/* And force a line-wrap */
grid->cursor.lcf = 1;
print_linewrap(term);
col = 0;
}
sixel_overwrite_at_cursor(term, width);