diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-04-13 11:51:04 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-04-13 11:51:04 -0400 |
commit | 62c120e6fde579c2faf1ef1206faa4e4572b243e (patch) | |
tree | 4682e428e083b4595d6a117cf135e15811f90870 /pty-unix.c | |
parent | f46625c7c24edb3782855315b0b1e2e022d39f2b (diff) | |
download | runes-62c120e6fde579c2faf1ef1206faa4e4572b243e.tar.gz runes-62c120e6fde579c2faf1ef1206faa4e4572b243e.zip |
flush when we're about to read, not every time we write
Diffstat (limited to 'pty-unix.c')
-rw-r--r-- | pty-unix.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -102,6 +102,7 @@ static void runes_pty_backend_read(uv_work_t *req) RunesPtyLoopData *data; data = (RunesPtyLoopData *)req->data; + runes_window_backend_request_flush(data->data.t); data->len = read( data->data.t->pty.master, data->buf, RUNES_PTY_BUFFER_LENGTH); } |