Fix Windows check.
@@ -63,7 +63,7 @@ def _print_spinner(stop_event, progress_queue):
# In pyinfra_cli's __main__ we set stdout & stderr to be line buffered,
# so write this escape code (clear line) into the buffer but don't flush,
# such that any next print/log/etc clear the line first.
- if IS_WINDOWS:
+ if not IS_WINDOWS:
sys.stdout.write('\033[K')
sys.stderr.write('\033[K')
