diff options
author | pux <pux@pux.dom> | 2020-03-31 13:44:10 +0200 |
---|---|---|
committer | pux <pux@pux.dom> | 2020-03-31 13:44:10 +0200 |
commit | c410caf48f86ce0e5918af53dc88aadf96b67195 (patch) | |
tree | a475ccf48e10a1db15e3317ba851b3167f8cb33d /pyfarbpracht | |
parent | 2bb8a00af99e83f5607983fd648c2a6fc1ad6fdc (diff) | |
download | pyfarbpracht-c410caf48f86ce0e5918af53dc88aadf96b67195.tar.gz pyfarbpracht-c410caf48f86ce0e5918af53dc88aadf96b67195.tar.bz2 pyfarbpracht-c410caf48f86ce0e5918af53dc88aadf96b67195.zip |
flush after printc
Diffstat (limited to 'pyfarbpracht')
-rwxr-xr-x | pyfarbpracht/pyfarbpracht.py | 2 |
1 files changed, 1 insertions, 1 deletions
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): |