From acc1090e778090b8c5d2488220897873266dc368 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Fri, 19 Feb 2016 13:14:17 +0000 Subject: Use system wcwidth() instead of carrying around UTF-8 width tables. --- tmux.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tmux.c') diff --git a/tmux.c b/tmux.c index ff087124..b1285c3e 100644 --- a/tmux.c +++ b/tmux.c @@ -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 == '-') -- cgit