From 62c120e6fde579c2faf1ef1206faa4e4572b243e Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 13 Apr 2014 11:51:04 -0400 Subject: flush when we're about to read, not every time we write --- pty-unix.c | 1 + 1 file changed, 1 insertion(+) (limited to 'pty-unix.c') diff --git a/pty-unix.c b/pty-unix.c index 4664f16..6eda780 100644 --- a/pty-unix.c +++ b/pty-unix.c @@ -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); } -- cgit v1.2.3-54-g00ecf