Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-06-10 13:27:48 +0200
committerGitHub <noreply@github.com>2021-06-10 13:27:48 +0200
commitdc10725bf93e4259fb2be030221cbe3a0527f85b (patch)
tree1c9189b390141b2a0f86980ff56697ca043e5e11 /archinstall
parent4668ea235c8012d73820fe613c27b95a39f9c7c5 (diff)
parent8bbc26ca593e4dbf5b3eca01837a01c2509f1432 (diff)
Merge pull request #538 from archlinux/torxed-fix-536
Attempt to fix issue regarding broken output
Diffstat (limited to 'archinstall')
-rw-r--r--archinstall/lib/general.py21
1 files changed, 0 insertions, 21 deletions
diff --git a/archinstall/lib/general.py b/archinstall/lib/general.py
index f72311c9..831b5451 100644
--- a/archinstall/lib/general.py
+++ b/archinstall/lib/general.py
@@ -202,27 +202,6 @@ class SysCommandWorker:
except UnicodeDecodeError:
return False
- output = output.strip('\r\n ')
- if len(output) <= 0:
- return False
-
- from .user_interaction import get_terminal_width
-
- # Move back to the beginning of the terminal
- sys.stdout.flush()
- sys.stdout.write("\033[%dG" % 0)
- sys.stdout.flush()
-
- # Clear the line
- 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()
return True