projects
/
pyutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4d986e
)
Fix widths in ansi.py main color dumper.
author
Scott Gasch
<
[email protected]
>
Thu, 8 Jun 2023 17:45:03 +0000
(10:45 -0700)
committer
Scott Gasch
<
[email protected]
>
Thu, 8 Jun 2023 17:45:03 +0000
(10:45 -0700)
src/pyutils/ansi.py
patch
|
blob
|
history
diff --git
a/src/pyutils/ansi.py
b/src/pyutils/ansi.py
index a60200fb955b1e37a3fe1388633b7bc87cd6e5b9..b418832fc34b319dfc191f4f73e7517b0bc21c46 100755
(executable)
--- 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()