aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--osc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/osc.c b/osc.c
index 6b226dfd..5697b230 100644
--- a/osc.c
+++ b/osc.c
@@ -18,7 +18,7 @@ osc_query(struct terminal *term, unsigned param)
case 11: {
char reply[16];
snprintf(
- reply, sizeof(reply), "\033]%u;%06x\x07",
+ reply, sizeof(reply), "\033]%u;%06x\033\\",
param,
(param == 10 ? term->foreground : term->background) & 0xffffff);
vt_to_slave(term, reply, strlen(reply));