diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-12-26 13:35:18 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-03-07 15:24:32 +0000 |
| commit | e6c372b14fa76799ea3c3ff89258a1b905cc9ec0 (patch) | |
| tree | d5e0c5a7019fec219a9c7b0f5fb4617e55f0ac33 /terminal.c | |
| parent | term: add term_put_char() (diff) | |
term: print: spacers may be printed all the way up to the last column
Diffstat (limited to 'terminal.c')
| -rw-r--r-- | terminal.c | 2 |
1 files changed, 1 insertions, 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); /* 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); } |
