Removed debugging, added an additional 'move back to beginning' and print the peak again. Added this to any pacstrap call.
This commit is contained in:
parent
918bc95edf
commit
0dcb4da799
|
|
@ -170,9 +170,6 @@ class sys_command():#Thread):
|
||||||
if len(output) <= 0:
|
if len(output) <= 0:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
print([output])
|
|
||||||
return None
|
|
||||||
|
|
||||||
if self.peak_output:
|
if self.peak_output:
|
||||||
from .user_interaction import get_terminal_width
|
from .user_interaction import get_terminal_width
|
||||||
|
|
||||||
|
|
@ -185,6 +182,11 @@ class sys_command():#Thread):
|
||||||
sys.stdout.write(" " * get_terminal_width())
|
sys.stdout.write(" " * get_terminal_width())
|
||||||
sys.stdout.flush()
|
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:
|
# And print the new output we're peaking on:
|
||||||
sys.stdout.write(output)
|
sys.stdout.write(output)
|
||||||
sys.stdout.flush()
|
sys.stdout.flush()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue