API update: width includes \0 for %s and %[

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>