aboutsummaryrefslogtreecommitdiff
path: root/csi.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-11-03 00:26:42 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-11-03 00:26:42 +0000
commite1b6aa87fbb2b32ef27dfbe6d768d083ad040499 (patch)
tree172b129c621555dc24231f76d9737139300d73fe /csi.c
parentslave: turn on FD_CLOEXEC after slave has been spawned (diff)
parentterminal: cleanup asynchronous ptmx output handling (diff)
Merge branch 'async-ptmx'
Diffstat (limited to 'csi.c')
-rw-r--r--csi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/csi.c b/csi.c
index a7892e9a..a5e19290 100644
--- a/csi.c
+++ b/csi.c
@@ -325,7 +325,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
case 0: {
switch (final) {
case 'c':
- vt_to_slave(term, "\033[?6c", 5);
+ term_to_slave(term, "\033[?6c", 5);
break;
case 'd': {
@@ -690,7 +690,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
snprintf(reply, sizeof(reply), "\x1b[%d;%dR",
term->cursor.row + 1,
term->cursor.col + 1);
- vt_to_slave(term, reply, strlen(reply));
+ term_to_slave(term, reply, strlen(reply));
break;
}
@@ -910,7 +910,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
*/
char reply[32];
snprintf(reply, sizeof(reply), "\033[?%u;2$y", param);
- vt_to_slave(term, reply, strlen(reply));
+ term_to_slave(term, reply, strlen(reply));
break;
}
@@ -965,7 +965,7 @@ csi_dispatch(struct terminal *term, uint8_t final)
break;
}
- vt_to_slave(term, "\033[>41;347;0c", 12);
+ term_to_slave(term, "\033[>41;347;0c", 12);
break;
}