mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-14 05:33:59 -04:00
term: print: spacers may be printed all the way up to the last column
This commit is contained in:
parent
ea851962c1
commit
e6c372b14f
1 changed files with 1 additions and 1 deletions
|
|
@ -3602,7 +3602,7 @@ term_print(struct terminal *term, char32_t wc, int width)
|
||||||
grid_row_uri_range_erase(row, col, col + width - 1);
|
grid_row_uri_range_erase(row, col, col + width - 1);
|
||||||
|
|
||||||
/* Advance cursor the 'additional' columns while dirty:ing the cells */
|
/* 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++;
|
col++;
|
||||||
print_spacer(term, col, width - i);
|
print_spacer(term, col, width - i);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue