aboutsummaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input.c')
-rw-r--r--input.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/input.c b/input.c
index bee51244..40cfa613 100644
--- a/input.c
+++ b/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);