diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-05-23 08:30:45 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-05-23 08:30:45 +0000 |
| commit | e335d57bc7767cd2051da585495b9243081e4a70 (patch) | |
| tree | caac9feab11cdffc04f310ce376394b9998cec24 /terminal.c | |
| parent | Merge branch 'foot_option_correction' (diff) | |
| parent | grid: reflow: uri-ranges: avoid looping URI ranges when reflowing (diff) | |
Merge branch 'reflow-osc8-performance'
Diffstat (limited to 'terminal.c')
| -rw-r--r-- | terminal.c | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -3106,6 +3106,20 @@ term_osc8_close(struct terminal *term) .uri = xstrdup(term->vt.osc8.uri), }; grid_row_add_uri_range(row, range); + +#if defined(_DEBUG) + tll_foreach(row->extra->uri_ranges, it1) { + tll_foreach(row->extra->uri_ranges, it2) { + if (&it1->item == &it2->item) + continue; + + xassert(it1->item.start != it2->item.start); + xassert(it1->item.start != it2->item.end); + xassert(it1->item.end != it2->item.start); + xassert(it1->item.end != it2->item.end); + } + } +#endif start_col = 0; } while (r++ != end.row); |
