aboutsummaryrefslogtreecommitdiff
path: root/terminal.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-02-13 12:44:58 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-02-21 19:14:52 +0000
commitffbee5ff372787c13e68d413173ff2e3ba270b80 (patch)
tree0be7574bf0d3cfe7335ce80b8ba852962c7038e4 /terminal.c
parentterm: add ‘id’ parameter to term_osc8_open() (diff)
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.
Diffstat (limited to 'terminal.c')
-rw-r--r--terminal.c1
1 files changed, 1 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);