diff options
author | nicm <nicm> | 2016-03-01 12:02:08 +0000 |
---|---|---|
committer | nicm <nicm> | 2016-03-01 12:02:08 +0000 |
commit | 26945d7956bf1f160fba72677082e1a9c6968e0c (patch) | |
tree | 2eddf33b2a95384f21b9b315715843df57b4a784 /tmux.c | |
parent | c7851e0ee71e26ee9af67f2523679132369b152f (diff) | |
download | rtmux-26945d7956bf1f160fba72677082e1a9c6968e0c.tar.gz rtmux-26945d7956bf1f160fba72677082e1a9c6968e0c.tar.bz2 rtmux-26945d7956bf1f160fba72677082e1a9c6968e0c.zip |
Use system wcwidth() instead of carrying around UTF-8 width tables.
Diffstat (limited to 'tmux.c')
-rw-r--r-- | tmux.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 == '-') |