mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-05 11:02:14 +01:00
Fixed for cancel
This commit is contained in:
parent
951d98640c
commit
37c008dbb2
1 changed files with 3 additions and 1 deletions
|
@ -453,9 +453,11 @@ class Argparse(Configs):
|
|||
text: str = f'There are {len(choices)} packages:'
|
||||
code, tags = self.dialogbox.checklist(text, packages, title, height,
|
||||
width, list_height, choices)
|
||||
|
||||
os.system('clear')
|
||||
|
||||
if code == 'cancel':
|
||||
raise SystemExit()
|
||||
|
||||
if not tags:
|
||||
return packages
|
||||
|
||||
|
|
Loading…
Reference in a new issue