aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-07-24 13:58:19 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-07-24 13:58:19 +0000
commit24168ed86ecf20a44f6dce8bdacfcb2c1471844b (patch)
tree275a60270080001308fe28fff2c8df22aecacf10
parentnotify: split up the ${action} template parameter (diff)
osc: kitty notifications: don't include '?' in the query reply
No need to say we support queries, in the query reply...
-rw-r--r--osc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/osc.c b/osc.c
index 6a04386c..c5073ff6 100644
--- a/osc.c
+++ b/osc.c
@@ -677,7 +677,7 @@ kitty_notification(struct terminal *term, char *string)
char reply[128];
int n = xsnprintf(
reply, sizeof(reply),
- "\033]99;i=%s:p=?;p=title,body,?:a=focus,report:o=%s:u=0,1,2%s",
+ "\033]99;i=%s:p=?;p=title,body,icon:a=focus,report:o=%s:u=0,1,2%s",
id, when_str, terminator);
term_to_slave(term, reply, n);