diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2024-06-23 11:29:12 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2024-06-26 16:39:23 +0000 |
| commit | 20923bb2e8235c0e3d72f7c6195523ad0b0a2afa (patch) | |
| tree | aefe0f6a3c34627e037ae33f6aa9867c1d2030c8 /url-mode.c | |
| parent | Merge branch 'vs15-16' (diff) | |
grid: refactor: first step towards a more generic range handling
Diffstat (limited to 'url-mode.c')
| -rw-r--r-- | url-mode.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -509,7 +509,7 @@ osc8_uris(const struct terminal *term, enum url_action action, url_list_t *urls) continue; for (size_t i = 0; i < extra->uri_ranges.count; i++) { - const struct row_uri_range *range = &extra->uri_ranges.v[i]; + const struct row_range *range = &extra->uri_ranges.v[i]; struct coord start = { .col = range->start, @@ -522,8 +522,8 @@ osc8_uris(const struct terminal *term, enum url_action action, url_list_t *urls) tll_push_back( *urls, ((struct url){ - .id = range->id, - .url = xstrdup(range->uri), + .id = range->uri.id, + .url = xstrdup(range->uri.uri), .range = { .start = start, .end = end, |
