aboutsummaryrefslogtreecommitdiffstats
path: root/pty-unix.c
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2014-04-13 01:14:26 -0400
committerJesse Luehrs <doy@tozt.net>2014-04-13 01:14:26 -0400
commit282695a9e923f069da86486dd9b0cf79f20da76f (patch)
tree4d9cef80ec7a5bba2641e9cc48ec789e4077485a /pty-unix.c
parent0e5d55283a9adcc9b5ed071b4e18b74e55dbe0c4 (diff)
downloadrunes-282695a9e923f069da86486dd9b0cf79f20da76f.tar.gz
runes-282695a9e923f069da86486dd9b0cf79f20da76f.zip
this is an unnecessary level of abstraction
Diffstat (limited to 'pty-unix.c')
-rw-r--r--pty-unix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pty-unix.c b/pty-unix.c
index bf66749..4664f16 100644
--- a/pty-unix.c
+++ b/pty-unix.c
@@ -116,12 +116,12 @@ static void runes_pty_backend_got_data(uv_work_t *req, int status)
t = data->data.t;
if (data->len > 0) {
- runes_handle_pty_read(t, data->buf, data->len);
+ runes_vt100_process_string(t, data->buf, data->len);
uv_queue_work(
t->loop, req, runes_pty_backend_read, runes_pty_backend_got_data);
}
else {
- runes_handle_pty_close(t);
+ runes_window_backend_request_close(t);
free(req);
}
}