diff options
Diffstat (limited to 'osc.c')
| -rw-r--r-- | osc.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; } |
