From 3ba1721c0f8b962466bb2d68d3adccdeb60ff915 Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Fri, 5 Jul 2019 09:46:48 +0200 Subject: osc: implement change window title and icon --- csi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'csi.c') diff --git a/csi.c b/csi.c index ada6183e..04174aa6 100644 --- a/csi.c +++ b/csi.c @@ -274,7 +274,7 @@ csi_as_string(struct terminal *term, uint8_t final) i == term->vt.params.idx - 1 ? "" : ";"); } - c += snprintf(&msg[c], sizeof(msg) - c, "%c (%d parameters)", + c += snprintf(&msg[c], sizeof(msg) - c, "%c (%zu parameters)", final, term->vt.params.idx); return msg; } -- cgit v1.3