[libvirt] [PATCH v4 1/3] vsh: Add API for printing tables.

Simon Kobyda skobyda at redhat.com
Thu Aug 23 15:27:57 UTC 2018


On Thu, 2018-08-23 at 15:19 +0200, Michal Privoznik wrote:
> NB, do we need to re-encode the string? All that we care about is its
> width, isn't it?

Yes. Many nonprintable or control characters such as tabulator,
vertical tabulator, backspace... would be problematic, especially when
calculating width. So its better to just replace them with their
hexadecimal value.

Simon Kobyda




More information about the libvir-list mailing list