aboutsummaryrefslogtreecommitdiff
path: root/osc.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-02-13 12:44:07 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-02-21 19:14:52 +0000
commitb934969b858d8874e480cc9ee7f4ccf5657f6f2a (patch)
tree96651be5625e5420d785caa3d8a8441297631120 /osc.c
parentosc: 8: parse params, and the ‘id’ parameter specifically (diff)
term: add ‘id’ parameter to term_osc8_open()
The current OSC-8 URL’s ID is now tracked along with the URI itself, and its starting point.
Diffstat (limited to 'osc.c')
-rw-r--r--osc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/osc.c b/osc.c
index fb4f15d6..b57bdd6c 100644
--- a/osc.c
+++ b/osc.c
@@ -433,7 +433,7 @@ osc_uri(struct terminal *term, char *string)
if (uri[0] == '\0')
term_osc8_close(term);
else
- term_osc8_open(term, uri);
+ term_osc8_open(term, id, uri);
}
static void