index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-04-04 15:08:06 +0200 |
---|---|---|
committer | Anton Hvornum <anton@hvornum.se> | 2021-04-04 15:08:06 +0200 |
commit | 2f6a71756a06b6feff3acdad3a3d8490e7504ab7 (patch) | |
tree | b399178535b770086e01ad892eba7f3d1284a176 | |
parent | 0d9519a729c8692ddb1de65aeca904e022f89fa8 (diff) |
-rw-r--r-- | archinstall/lib/general.py | 3 |
diff --git a/archinstall/lib/general.py b/archinstall/lib/general.py index 78076c15..ded2c5a3 100644 --- a/archinstall/lib/general.py +++ b/archinstall/lib/general.py @@ -5,7 +5,6 @@ from subprocess import Popen, STDOUT, PIPE, check_output from select import epoll, EPOLLIN, EPOLLHUP from .exceptions import * from .output import log, LOG_LEVELS -from .user_interaction import get_terminal_width def gen_uid(entropy_length=256): return hashlib.sha512(os.urandom(entropy_length)).hexdigest() @@ -162,6 +161,8 @@ class sys_command():#Thread): def peak(self, output): if self.peak_output: + from .user_interaction import get_terminal_width + # Move back to the beginning of the terminal sys.stdout.flush() sys.stdout.write("\033[%dG" % 0) |