Re: [PATCH 1/4] python/utils: add enboxify() text decoration utility

2022-02-16 Thread Hanna Reitz
On 16.02.22 17:16, John Snow wrote: On Tue, Feb 15, 2022, 6:57 PM Philippe Mathieu-Daudé wrote: On 16/2/22 00:53, John Snow wrote: > On Tue, Feb 15, 2022 at 5:55 PM Eric Blake wrote: >> >> On Tue, Feb 15, 2022 at 05:08:50PM -0500, John Snow wrote: >>

Re: [PATCH 1/4] python/utils: add enboxify() text decoration utility

2022-02-16 Thread John Snow
On Tue, Feb 15, 2022, 6:57 PM Philippe Mathieu-Daudé wrote: > On 16/2/22 00:53, John Snow wrote: > > On Tue, Feb 15, 2022 at 5:55 PM Eric Blake wrote: > >> > >> On Tue, Feb 15, 2022 at 05:08:50PM -0500, John Snow wrote: > >> print(enboxify(msg, width=72, name="commit message")) > >>> ┏━

Re: [PATCH 1/4] python/utils: add enboxify() text decoration utility

2022-02-15 Thread Philippe Mathieu-Daudé via
On 16/2/22 00:53, John Snow wrote: On Tue, Feb 15, 2022 at 5:55 PM Eric Blake wrote: On Tue, Feb 15, 2022 at 05:08:50PM -0500, John Snow wrote: print(enboxify(msg, width=72, name="commit message")) ┏━ commit message ━┓ ┃ enboxify() takes a

Re: [PATCH 1/4] python/utils: add enboxify() text decoration utility

2022-02-15 Thread John Snow
On Tue, Feb 15, 2022 at 5:55 PM Eric Blake wrote: > > On Tue, Feb 15, 2022 at 05:08:50PM -0500, John Snow wrote: > > >>> print(enboxify(msg, width=72, name="commit message")) > > ┏━ commit message ━┓ > > ┃ enboxify() takes a chunk of text and

Re: [PATCH 1/4] python/utils: add enboxify() text decoration utility

2022-02-15 Thread Eric Blake
On Tue, Feb 15, 2022 at 05:08:50PM -0500, John Snow wrote: > >>> print(enboxify(msg, width=72, name="commit message")) > ┏━ commit message ━┓ > ┃ enboxify() takes a chunk of text and wraps it in a text art box that ┃ > ┃ adheres to a specified

[PATCH 1/4] python/utils: add enboxify() text decoration utility

2022-02-15 Thread John Snow
>>> print(enboxify(msg, width=72, name="commit message")) ┏━ commit message ━┓ ┃ enboxify() takes a chunk of text and wraps it in a text art box that ┃ ┃ adheres to a specified width. An optional title label may be given, ┃ ┃ and any of the