aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--terminal.c1
-rw-r--r--terminal.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/terminal.c b/terminal.c
index 218882f0..9051c566 100644
--- a/terminal.c
+++ b/terminal.c
@@ -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);
diff --git a/terminal.h b/terminal.h
index 733fc92d..69c7c2ea 100644
--- a/terminal.h
+++ b/terminal.h
@@ -89,6 +89,7 @@ struct composed {
struct row_uri_range {
int start;
int end;
+ uint64_t id;
char *uri;
};