mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-11 05:33:55 -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
input.c
8
input.c
|
|
@ -258,7 +258,7 @@ keyboard_key(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial,
|
|||
info->keypad_keys_mode != term->keypad_keys_mode)
|
||||
continue;
|
||||
|
||||
vt_to_slave(term, info->seq, strlen(info->seq));
|
||||
term_to_slave(term, info->seq, strlen(info->seq));
|
||||
found_map = true;
|
||||
|
||||
term_reset_view(term);
|
||||
|
|
@ -314,14 +314,14 @@ keyboard_key(void *data, struct wl_keyboard *wl_keyboard, uint32_t serial,
|
|||
|
||||
char reply[1024];
|
||||
snprintf(reply, sizeof(reply), "\x1b[27;%d;%d~", modify_param, sym);
|
||||
vt_to_slave(term, reply, strlen(reply));
|
||||
term_to_slave(term, reply, strlen(reply));
|
||||
}
|
||||
|
||||
else {
|
||||
if (effective_mods & alt)
|
||||
vt_to_slave(term, "\x1b", 1);
|
||||
term_to_slave(term, "\x1b", 1);
|
||||
|
||||
vt_to_slave(term, buf, count);
|
||||
term_to_slave(term, buf, count);
|
||||
}
|
||||
|
||||
term_reset_view(term);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue