From 167f15218fd1cf4f3aa94d43260c46ea1abfaa67 Mon Sep 17 00:00:00 2001 From: Scott Gasch Date: Thu, 8 Jun 2023 10:45:03 -0700 Subject: [PATCH] Fix widths in ansi.py main color dumper. --- src/pyutils/ansi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pyutils/ansi.py b/src/pyutils/ansi.py index a60200f..b418832 100755 --- a/src/pyutils/ansi.py +++ b/src/pyutils/ansi.py @@ -2330,8 +2330,8 @@ if __name__ == '__main__': xf = fg(None, _[0], _[1], _[2]) xb = bg(None, _[0], _[1], _[2]) print( - f'{f}{xb}{possibility}{reset()}\t\t\t' - f'{b}{xf}{possibility}{reset()}' + f'{f}{xb}{possibility:<40}{reset()}' + f'{b}{xf}{possibility:<40}{reset()}' ) main() -- 2.47.1