Re: [dev] [PATCH] [st] Fix issues with wcwidth() returning -1 for

From: <k0ga_AT_shike2.com>
Date: Mon, 27 Oct 2014 14:18:11 +0100

> That's how POSIX-2001 defines it.
>
> So yeah, using abs() to "catch" the invalid case is fine, but could be
> refined even more.
>

Ok, it is true. We should catch this case, but I don't like the idea
of the abs. I think the correct solution should be print the invalid
character.

Regards,
Received on Mon Oct 27 2014 - 14:18:11 CET

This archive was generated by hypermail 2.3.0 : Mon Oct 27 2014 - 14:24:08 CET