Stefan Sperling <s...@openbsd.org> wrote: > Change number 2 is the only one that hasn't been committed yet. > According to > http://pubs.opengroup.org/onlinepubs/009695399/functions/wcwidth.html > wcwidth() should return -1 for non-printable characters. > So this change looks good to me. Anyone want to ok it?
FWIW, this fixes a bash prompt problem. (When you have a bash prompt that contains unprintable characters, properly bracketed by \[ \], and are in a UTF-8 locale, bash currently becomes confused about the width of the prompt.) -- Christian "naddy" Weisgerber na...@mips.inka.de