diff options
-rw-r--r-- | tailburst.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tailburst.c b/tailburst.c index 0021d65..2aaa5a5 100644 --- a/tailburst.c +++ b/tailburst.c @@ -92,6 +92,9 @@ int main(int argc, char **argv) struct getline_states line = { 0 }; char *cur; + /* non-buffered output */ + setlinebuf(stdout); + /* make stream non-block */ flags = fcntl(fd, F_GETFL); flags |= O_NONBLOCK; |