commit | 7abdfbe20ed01315d84d5b0f02712bd88d407445 | [log] [download] |
---|---|---|
author | nicm <nicm> | Fri Apr 29 09:11:19 2016 +0000 |
committer | nicm <nicm> | Fri Apr 29 09:11:19 2016 +0000 |
tree | 1a3f65019dbe19ba86760a68ec199c4e7cb68333 | |
parent | dd8ba0b5a8f48d4946f0ed214f189bc7092d5b07 [diff] |
OpenBSD wcwidth() is sensible and complete so if it returns -1 it means that a character is not printable, so return to ignoring such characters.