diff options
author | David Herrmann <dh.herrmann@googlemail.com> | 2012-09-18 16:37:17 +0200 |
---|---|---|
committer | David Herrmann <dh.herrmann@googlemail.com> | 2012-09-18 16:37:17 +0200 |
commit | 93c5d61a05483f6eaca96216f41e80b231d16968 (patch) | |
tree | 1e29adb4e44c46a105d3bfbf7070cc4894998df2 /src/terminal.c | |
parent | 2f7bb5a57f97bb3d3c59b74013fd5eedbfcdb3d6 (diff) |
tsm: vte: move vte layer to tsm_vte_*
This pushes the whole VTE layer into TSM and performs the huge rename
which turned out to be quite easy to accomplish.
Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Diffstat (limited to 'src/terminal.c')
-rw-r--r-- | src/terminal.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/terminal.c b/src/terminal.c index 3d6f246..a9cf021 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -335,7 +335,7 @@ static void pty_input(struct kmscon_pty *pty, const char *u8, size_t len, if (term->cb) term->cb(term, KMSCON_TERMINAL_HUP, term->data); } else { - kmscon_vte_input(term->vte, u8, len); + tsm_vte_input(term->vte, u8, len); schedule_redraw(term); } } @@ -374,7 +374,7 @@ static void input_event(struct uterm_input *input, return; } - if (kmscon_vte_handle_keyboard(term->vte, ev->keysym, ev->mods, + if (tsm_vte_handle_keyboard(term->vte, ev->keysym, ev->mods, ev->unicode)) { tsm_screen_sb_reset(term->console); schedule_redraw(term); @@ -432,7 +432,7 @@ int kmscon_terminal_new(struct kmscon_terminal **out, tsm_screen_set_opts(term->console, TSM_SCREEN_OPT_RENDER_TIMING); - ret = kmscon_vte_new(&term->vte, term->console, write_event, term); + ret = tsm_vte_new(&term->vte, term->console, write_event, term); if (ret) goto err_con; @@ -472,7 +472,7 @@ err_input: err_pty: kmscon_pty_unref(term->pty); err_vte: - kmscon_vte_unref(term->vte); + tsm_vte_unref(term->vte); err_con: tsm_screen_unref(term->console); err_free: @@ -503,7 +503,7 @@ void kmscon_terminal_unref(struct kmscon_terminal *term) ev_timer_unref(term->redraw_timer); uterm_input_unregister_cb(term->input, input_event, term); kmscon_pty_unref(term->pty); - kmscon_vte_unref(term->vte); + tsm_vte_unref(term->vte); tsm_screen_unref(term->console); uterm_input_unref(term->input); ev_eloop_unref(term->eloop); |