From 051bb63cd9c7e7a9861b9c3e82d993de13c39bba Mon Sep 17 00:00:00 2001 From: Hiltjo Posthuma Date: Sun, 18 Feb 2018 15:10:27 +0100 Subject: sfeed_plain: force flush line to output, useful for tail -f --- sfeed_plain.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sfeed_plain.c b/sfeed_plain.c index 236be99..e9e2446 100644 --- a/sfeed_plain.c +++ b/sfeed_plain.c @@ -47,6 +47,7 @@ printfeed(FILE *fp, const char *feedname) tm->tm_hour, tm->tm_min); printutf8pad(stdout, fields[FieldTitle], 70, ' '); printf(" %s\n", fields[FieldLink]); + fflush(stdout); } } -- cgit v1.2.3