mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
term: add an ‘id’ member to the the ‘row_uri_range’ struct
term_osc8_close() sets it from the OSC-8 ID tracked in the VT sub-struct.
This commit is contained in:
parent
b934969b85
commit
ffbee5ff37
2 changed files with 2 additions and 0 deletions
|
|
@ -3059,6 +3059,7 @@ term_osc8_close(struct terminal *term)
|
|||
struct row_uri_range range = {
|
||||
.start = start_col,
|
||||
.end = end_col,
|
||||
.id = term->vt.osc8.id,
|
||||
.uri = xstrdup(term->vt.osc8.uri),
|
||||
};
|
||||
tll_push_back(row->extra->uri_ranges, range);
|
||||
|
|
|
|||
|
|
@ -89,6 +89,7 @@ struct composed {
|
|||
struct row_uri_range {
|
||||
int start;
|
||||
int end;
|
||||
uint64_t id;
|
||||
char *uri;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue