aboutsummaryrefslogtreecommitdiff
path: root/csi.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-11-02 23:27:39 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-11-02 23:52:24 +0000
commit9f1525aef778508e4fb12292693be5649c4c8c5a (patch)
tree3dc72998d7bf63b5dac9764b7637335366d1d4cc /csi.c
parentmisc: fdm already logs failures (diff)
Rename: vt_to_slave() -> term_to_slave()
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;
}