aboutsummaryrefslogtreecommitdiffstats
path: root/gadgets
diff options
context:
space:
mode:
Diffstat (limited to 'gadgets')
-rw-r--r--gadgets/gdbar.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gadgets/gdbar.c b/gadgets/gdbar.c
index af25632..918caf0 100644
--- a/gadgets/gdbar.c
+++ b/gadgets/gdbar.c
@@ -56,6 +56,8 @@ pbar(const char* label, double perc, int maxc, int height, int pnl) {
fg, (int)l, height,
bg, maxc-(int)l, height,
pnl ? "\n" : "");
+
+ fflush(stdout);
}
int