mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-16 07:47:35 +01:00
Updated for process done
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
177053cec1
commit
5506745d1c
1 changed files with 2 additions and 0 deletions
|
@ -45,6 +45,7 @@ class ViewProcess(Configs):
|
||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
self.bar_process.terminate()
|
self.bar_process.terminate()
|
||||||
self.bar_process.join()
|
self.bar_process.join()
|
||||||
|
print(f'\b{self.bgreen}{self.ascii.done}{self.endc}', end='')
|
||||||
print('\x1b[?25h')
|
print('\x1b[?25h')
|
||||||
else:
|
else:
|
||||||
print(f'{self.bgreen}{self.ascii.done}{self.endc}')
|
print(f'{self.bgreen}{self.ascii.done}{self.endc}')
|
||||||
|
@ -56,6 +57,7 @@ class ViewProcess(Configs):
|
||||||
time.sleep(0.1)
|
time.sleep(0.1)
|
||||||
self.bar_process.terminate()
|
self.bar_process.terminate()
|
||||||
self.bar_process.join()
|
self.bar_process.join()
|
||||||
|
print(f'\b{self.bred}{self.ascii.failed}{self.endc}', end='')
|
||||||
print('\x1b[?25h')
|
print('\x1b[?25h')
|
||||||
else:
|
else:
|
||||||
print(f'{self.bred}{self.ascii.failed}{self.endc}')
|
print(f'{self.bred}{self.ascii.failed}{self.endc}')
|
||||||
|
|
Loading…
Reference in a new issue