From: Scott Gasch Date: Thu, 8 Jun 2023 17:45:03 +0000 (-0700) Subject: Fix widths in ansi.py main color dumper. X-Git-Url: https://wannabe.guru.org/gitweb/?a=commitdiff_plain;h=167f15218fd1cf4f3aa94d43260c46ea1abfaa67;p=pyutils.git Fix widths in ansi.py main color dumper. --- 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()