Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib/menu/list_manager.py
diff options
context:
space:
mode:
authorDaniel <blackrabbit256@gmail.com>2022-04-12 19:46:55 +1000
committerGitHub <noreply@github.com>2022-04-12 11:46:55 +0200
commit4f899e3866d81d0e7fec5d496578a0fe81617e72 (patch)
treea643ac193e4ea03ccc3bdcc06ffc4add80a38d9a /archinstall/lib/menu/list_manager.py
parentf644022e0cbcb13069ea8caff4d5791db3925911 (diff)
Downstream new simple menu feature (#1055)
* Downstream new simple menu feature * Fix flake8 * Update * Fix flake8 Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Diffstat (limited to 'archinstall/lib/menu/list_manager.py')
-rw-r--r--archinstall/lib/menu/list_manager.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/archinstall/lib/menu/list_manager.py b/archinstall/lib/menu/list_manager.py
index 4ca33db2..5b4f720c 100644
--- a/archinstall/lib/menu/list_manager.py
+++ b/archinstall/lib/menu/list_manager.py
@@ -129,7 +129,7 @@ class ListManager:
self.header = header if header else None
self.cancel_action = str(_('Cancel'))
self.confirm_action = str(_('Confirm and exit'))
- self.separator = '==>'
+ self.separator = ''
self.bottom_list = [self.confirm_action,self.cancel_action]
self.bottom_item = [self.cancel_action]
self.base_actions = base_actions if base_actions else [str(_('Add')),str(_('Copy')),str(_('Edit')),str(_('Delete'))]
@@ -155,7 +155,8 @@ class ListManager:
sort=False,
clear_screen=False,
clear_menu_on_exit=False,
- header=self.header).run()
+ header=self.header,
+ skip_empty_entries=True).run()
if not target or target in self.bottom_list:
break