mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-29 07:58:01 -04:00
Rename: vt_to_slave() -> term_to_slave()
This commit is contained in:
parent
79c3121aa3
commit
9f1525aef7
8 changed files with 46 additions and 46 deletions
8
csi.c
8
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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue