diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2016-02-19 13:14:17 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2016-02-19 13:14:17 +0000 |
commit | acc1090e778090b8c5d2488220897873266dc368 (patch) | |
tree | 861af8b648615a979ffe91dfbb64c0ca75f74658 /tmux.c | |
parent | fc864529f587fc4c913d1ad40da41eab2e512521 (diff) | |
download | rtmux-acc1090e778090b8c5d2488220897873266dc368.tar.gz rtmux-acc1090e778090b8c5d2488220897873266dc368.tar.bz2 rtmux-acc1090e778090b8c5d2488220897873266dc368.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
@@ -190,7 +190,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 == '-') |