aboutsummaryrefslogtreecommitdiff
path: root/csi.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-05 07:46:48 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-05 07:50:35 +0000
commit3ba1721c0f8b962466bb2d68d3adccdeb60ff915 (patch)
treeff2fef017ba4990a2f6bf400631aa19db7c14a2f /csi.c
parentrender: bump number of glyphs we can render in a single call (diff)
osc: implement change window title and icon
Diffstat (limited to 'csi.c')
-rw-r--r--csi.c2
1 files changed, 1 insertions, 1 deletions
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;
}