diff --git a/terminal.c b/terminal.c index 6119f68c..f814de97 100644 --- a/terminal.c +++ b/terminal.c @@ -3602,7 +3602,7 @@ term_print(struct terminal *term, char32_t wc, int width) grid_row_uri_range_erase(row, col, col + width - 1); /* Advance cursor the 'additional' columns while dirty:ing the cells */ - for (int i = 1; i < width && col < term->cols - 1; i++) { + for (int i = 1; i < width && col < term->cols; i++) { col++; print_spacer(term, col, width - i); }