mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
term: print: erase URI range when printing right-margin padding
This commit is contained in:
parent
3c6239c66f
commit
65944906bf
1 changed files with 3 additions and 0 deletions
|
|
@ -3193,6 +3193,9 @@ term_print(struct terminal *term, wchar_t wc, int width)
|
|||
for (size_t i = col; i < term->cols; i++)
|
||||
print_spacer(term, i, 0);
|
||||
|
||||
if (grid->cur_row->extra != NULL)
|
||||
grid_row_uri_range_erase(grid->cur_row, col, term->cols - 1);
|
||||
|
||||
/* And force a line-wrap */
|
||||
grid->cursor.lcf = 1;
|
||||
print_linewrap(term);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue