Skip to content

Commit 52cd08a

Browse files
Added Checks for Special Keys
1 parent 50f7a63 commit 52cd08a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

archinstall/tui/components.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ def _get_status_prefix(item: MenuItem) -> str:
6262
- ! (Yellow) for unconfigured items
6363
"""
6464

65+
is_special_key = '__config__' in item.key or item.key == '← ' + tr('Back')
66+
67+
if item.read_only or is_special_key:
68+
return ''
69+
6570
if item.has_value():
6671
return ' '
6772
else:

0 commit comments

Comments
 (0)