From 4d6fad82dbff1f777c25e31de8a34e453233fddb Mon Sep 17 00:00:00 2001 From: 2Shirt <2xShirt@gmail.com> Date: Fri, 13 Sep 2019 20:29:18 -0700 Subject: [PATCH] Adjusted menu index formatting * Right-align numbered and action text --- scripts/wk/std.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/wk/std.py b/scripts/wk/std.py index efaa9d3c..18692a67 100644 --- a/scripts/wk/std.py +++ b/scripts/wk/std.py @@ -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: