Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--archinstall/lib/general.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/archinstall/lib/general.py b/archinstall/lib/general.py
index d47b390a..5b1b3c2a 100644
--- a/archinstall/lib/general.py
+++ b/archinstall/lib/general.py
@@ -170,9 +170,6 @@ class sys_command():#Thread):
if len(output) <= 0:
return None
- print([output])
- return None
-
if self.peak_output:
from .user_interaction import get_terminal_width
@@ -185,6 +182,11 @@ class sys_command():#Thread):
sys.stdout.write(" " * get_terminal_width())
sys.stdout.flush()
+ # Move back to the beginning again
+ sys.stdout.flush()
+ sys.stdout.write("\033[%dG" % 0)
+ sys.stdout.flush()
+
# And print the new output we're peaking on:
sys.stdout.write(output)
sys.stdout.flush()