From bb7c85fd22cb4865b6cc70432b498a9a33f7f549 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Fri, 24 Apr 2026 07:31:36 +0500 Subject: [PATCH] wscript: turn on progress bar by default --- wscript | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wscript b/wscript index 11f7983e..49d1d3af 100644 --- a/wscript +++ b/wscript @@ -556,6 +556,10 @@ int main(void) { return (int)BZ2_bzlibVersion(); }''' conf.add_subproject(i.name) def build(bld): + # enable progress bar mode if stdout is a terminal + if not bld.progress_bar and sys.stdout.isatty(): + bld.progress_bar = 1 + if bld.env.WAFCACHE: bld.load('wafcache')