summaryrefslogtreecommitdiffstats
path: root/python/setup.py
diff options
context:
space:
mode:
authorJohn Snow2022-03-21 21:16:01 +0100
committerHanna Reitz2022-03-22 10:14:22 +0100
commitbe73231ba836c34502af5ff419ab3ca23c60a6db (patch)
treee35daccd022f4e77f8c844f79f38cbed570b94b9 /python/setup.py
parenttests/qemu-iotests/testrunner: Supply a test plan in TAP mode (diff)
downloadqemu-be73231ba836c34502af5ff419ab3ca23c60a6db.tar.gz
qemu-be73231ba836c34502af5ff419ab3ca23c60a6db.tar.xz
qemu-be73231ba836c34502af5ff419ab3ca23c60a6db.zip
python/utils: add add_visual_margin() text decoration utility
>>> print(add_visual_margin(msg, width=72, name="Commit Message")) ┏━ Commit Message ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ┃ add_visual_margin() takes a chunk of text and wraps it in a visual ┃ container that force-wraps to a specified width. An optional title ┃ label may be given, and any of the individual glyphs used to draw the ┃ box may be replaced or specified as well. ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Acked-by: Hanna Reitz <hreitz@redhat.com> Message-Id: <20220321201618.903471-2-jsnow@redhat.com> Signed-off-by: Hanna Reitz <hreitz@redhat.com>
Diffstat (limited to 'python/setup.py')
0 files changed, 0 insertions, 0 deletions