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

2018-08-24 Thread Michal Privoznik
On 08/23/2018 05:53 PM, Simon Kobyda wrote: > It solves problems with alignment of columns. Width of each column > is calculated by its biggest cell. Should solve unicode bug. > In future, it may be implemented in virsh, virt-admin... > > This API has 5 public functions: > - vshTableNew - adds new

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

2018-08-23 Thread Simon Kobyda
It solves problems with alignment of columns. Width of each column is calculated by its biggest cell. Should solve unicode bug. In future, it may be implemented in virsh, virt-admin... This API has 5 public functions: - vshTableNew - adds new table and defines its header - vshTableRowAppend - appe