about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-05-21 14:06:18 -0400
committerJune McEnroe <june@causal.agency>2020-05-21 14:06:18 -0400
commit08a9f9fcfdb2d34e9d760177da566b6294c68ca4 (patch)
tree32689952cc80effcbdd802ce52b0f92821ed3b99
parentDo not sort results in scoop by default (diff)
downloadlitterbox-08a9f9fcfdb2d34e9d760177da566b6294c68ca4.tar.gz
litterbox-08a9f9fcfdb2d34e9d760177da566b6294c68ca4.zip
Explicitly set stdout line buffered when paging
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;
c?h=1.4.0&id=b431282c91deea24916578395d88084261410968&follow=1'>remove trailing whitespaces from source filesChristian Hesse 2014-04-12git: update to 1.9.2Christian Hesse 2014-04-05Fix cgit_parse_url when a repo url is contained in another repo urlJulian Maurice 2014-03-20Makefile: use more reliable git tarball mirrorJason A. Donenfeld 2014-03-20git: update to 1.9.1Christian Hesse