Adjusted menu index formatting
* Right-align numbered and action text
This commit is contained in:
parent
94dac676fe
commit
4d6fad82db
1 changed files with 2 additions and 0 deletions
|
|
@ -128,6 +128,8 @@ class Menu():
|
|||
clear_code = COLORS['CLEAR']
|
||||
color_code = COLORS['YELLOW'] if disabled else ''
|
||||
display_name = f'{color_code}{index if index else name[:1].upper()}: '
|
||||
if not (index and index >= 10):
|
||||
display_name = f' {display_name}'
|
||||
|
||||
# Add enabled status if necessary
|
||||
if not no_checkboxes:
|
||||
|
|
|
|||
Loading…
Reference in a new issue