CVSROOT: /cvs Module name: src Changes by: n...@cvs.openbsd.org 2016/04/27 03:36:25
Modified files: usr.bin/tmux : utf8.c Log message: Loads of platforms appear to have old or broken Unicode character type information and are missing widths for relatively common Unicode characters (so mbtowc() works, but wcwidth() fails). So if wcwidth() returns -1, assume a width of 1 instead of ignoring the character.