aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--terminal.c2
1 files changed, 1 insertions, 1 deletions
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);
}