Use system wcwidth() instead of carrying around UTF-8 width tables.

This commit is contained in:
nicm
2016-03-01 12:02:08 +00:00
parent c7851e0ee7
commit 26945d7956
4 changed files with 51 additions and 431 deletions

3
tmux.c
View File

@ -188,7 +188,10 @@ main(int argc, char **argv)
const char *s;
int opt, flags, keys;
setlocale(LC_CTYPE, "en_US.UTF-8");
setlocale(LC_TIME, "");
tzset();
if (**argv == '-')