aboutsummaryrefslogtreecommitdiff
path: root/osc.c
diff options
context:
space:
mode:
Diffstat (limited to 'osc.c')
-rw-r--r--osc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/osc.c b/osc.c
index 82793fb5..95af5bff 100644
--- a/osc.c
+++ b/osc.c
@@ -761,13 +761,12 @@ kitty_notification(struct terminal *term, char *string)
const char *terminator = term->vt.osc.bel ? "\a" : "\033\\";
- char reply[128];
+ char reply[512];
size_t n = xsnprintf(
reply, sizeof(reply),
"\033]99;i=%s:p=?;p=%s:a=%s:o=%s:u=%s:c=1:w=1:s=system,silent,error,warn,warning,info,question%s",
reply_id, p_caps, a_caps, when_caps, u_caps, terminator);
- xassert(n < sizeof(reply));
term_to_slave(term, reply, n);
goto out;
}