aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2026-02-02 10:19:07 +0000
committerDaniel Eklöf <daniel@ekloef.se>2026-02-02 10:19:07 +0000
commit0bf193ef8122b2fd412438c0e405fb085cd62a1e (patch)
treecbcefaecc42df9664905c0927cc8a925e5d4f300
parentsixel: force a height of at least one sixel when explicitly resizing (diff)
osc-8: don't log URL + ID when closing
-rw-r--r--osc.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/osc.c b/osc.c
index 9407e7b8..909fd484 100644
--- a/osc.c
+++ b/osc.c
@@ -525,12 +525,14 @@ osc_uri(struct terminal *term, char *string)
id = sdbm_hash(value);
}
- LOG_DBG("OSC-8: URL=%s, id=%" PRIu64, uri, id);
- if (uri[0] == '\0')
+ if (uri[0] == '\0') {
+ LOG_DBG("OSC-8: close");
term_osc8_close(term);
- else
+ } else {
+ LOG_DBG("OSC-8: URL=%s, id=%" PRIu64, uri, id);
term_osc8_open(term, id, uri);
+ }
}
static void