From c410caf48f86ce0e5918af53dc88aadf96b67195 Mon Sep 17 00:00:00 2001 From: pux Date: Tue, 31 Mar 2020 13:44:10 +0200 Subject: flush after printc --- pyfarbpracht/pyfarbpracht.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyfarbpracht/pyfarbpracht.py b/pyfarbpracht/pyfarbpracht.py index 62ef308..2422699 100755 --- a/pyfarbpracht/pyfarbpracht.py +++ b/pyfarbpracht/pyfarbpracht.py @@ -13,7 +13,7 @@ def printc(color, msg, no_newline=False, enable_color=False): end = '' else: end = linesep - print(ret, end=end) + print(ret, end=end, flush=True) return ret def colored(color, msg): -- cgit v1.2.2-1-g5e49