summary refs log tree commit diff
path: root/scoop.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--scoop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/scoop.c b/scoop.c
index 3ab6e5d..2906ddd 100644
--- a/scoop.c
+++ b/scoop.c
@@ -514,6 +514,7 @@ int main(int argc, char *argv[]) {
 		dup2(rw[1], STDOUT_FILENO);
 		close(rw[0]);
 		close(rw[1]);
+		setlinebuf(stdout);
 	}
 
 	int result;