osc: implement change window title and icon

This commit is contained in:
Daniel Eklöf 2019-07-05 09:46:48 +02:00
parent 998ce52b7e
commit 3ba1721c0f
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 65 additions and 10 deletions

2
csi.c
View file

@ -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;
}