From 5b176dd5d6e55dd666b0e424cae20e7a97e3bede Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Sun, 21 Nov 2021 14:47:24 +0100 Subject: term: print: reset ‘col’ after padding the right margin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- terminal.c | 1 + 1 file changed, 1 insertion(+) diff --git a/terminal.c b/terminal.c index 1da97335..4cc9ed09 100644 --- a/terminal.c +++ b/terminal.c @@ -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); -- cgit v1.3