feat: allow disabling print prefix

This commit is contained in:
2 * r + 2 * t
2026-06-15 23:47:40 +10:00
parent 56f2e94d5b
commit e02fc7427d
2 changed files with 19 additions and 19 deletions
+3 -3
View File
@@ -125,11 +125,11 @@ class Command:
if not comp_arr:
return
print(format_msg(PROMPT_COLOUR, "Components to enable?"))
print(format_msg(PROMPT_COLOUR, True, "Components to enable?"))
max_idx_w = len(str(len(comp_arr)))
for i, comp in enumerate(comp_arr):
print(format_msg(PROMPT_COLOUR, f" {i + 1:<{max_idx_w}}\t{comp}"))
print(format_msg(PROMPT_COLOUR, "[A]ll or (1 2 3, 1-3, ^4)"))
print(format_msg(PROMPT_COLOUR, True, f" {i + 1:<{max_idx_w}}\t{comp}"))
print(format_msg(PROMPT_COLOUR, True, "[A]ll or (1 2 3, 1-3, ^4)"))
def _valid_v(v: str) -> int:
try: