Adjusted menu index formatting

* Right-align numbered and action text
This commit is contained in:
2Shirt 2019-09-13 20:29:18 -07:00
parent 94dac676fe
commit 4d6fad82db
Signed by: 2Shirt
GPG key ID: 152FAC923B0E132C

View file

@ -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: