From b557b43ff285126e05e40a3c3a9e922bf190eb0c Mon Sep 17 00:00:00 2001 From: Bradley Sepos Date: Wed, 25 May 2016 16:16:14 -0400 Subject: build: Avoid sending ANSI to Windows terminals. --- make/lib/hb_distfile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'make') diff --git a/make/lib/hb_distfile.py b/make/lib/hb_distfile.py index d9dced164..28b0706a7 100644 --- a/make/lib/hb_distfile.py +++ b/make/lib/hb_distfile.py @@ -78,7 +78,7 @@ class Tool(object): if percent >= 0: sys.stdout.write(" [%-20s] %.1f%%" % ('='*int(percent*20), percent*100)) sys.stdout.write('\n') # needed to flush on some systems - if self.options.jobs == 1: + if self.options.jobs == 1 and os.name != 'nt': sys.stdout.write('\033[F') # reuse line sys.stdout.flush() -- cgit v1.2.3