diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2019-11-03 00:26:42 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2019-11-03 00:26:42 +0000 |
| commit | e1b6aa87fbb2b32ef27dfbe6d768d083ad040499 (patch) | |
| tree | 172b129c621555dc24231f76d9737139300d73fe /csi.c | |
| parent | slave: turn on FD_CLOEXEC after slave has been spawned (diff) | |
| parent | terminal: cleanup asynchronous ptmx output handling (diff) | |
Merge branch 'async-ptmx'
Diffstat (limited to 'csi.c')
| -rw-r--r-- | csi.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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; } |
