Re: [libvirt PATCH 07/32] tools: replace wcwidth() with g_unichar_* APIs

2020-01-27 Thread Pavel Hrdina
On Thu, Jan 23, 2020 at 11:43:00AM +, Daniel P. Berrangé wrote: > The combination of g_unichar_iszerowidth and > g_unichar_iswide is sufficient to replicate the logic > of wcwidth() for libvirt. > > Signed-off-by: Daniel P. Berrangé > --- > tests/vshtabletest.c | 8 ++-- >

[libvirt PATCH 07/32] tools: replace wcwidth() with g_unichar_* APIs

2020-01-23 Thread Daniel P . Berrangé
The combination of g_unichar_iszerowidth and g_unichar_iswide is sufficient to replicate the logic of wcwidth() for libvirt. Signed-off-by: Daniel P. Berrangé --- tests/vshtabletest.c | 8 ++-- tools/vsh-table.c| 2 +- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git