diff options
author | nicm <nicm> | 2016-03-05 07:44:31 +0000 |
---|---|---|
committer | nicm <nicm> | 2016-03-05 07:44:31 +0000 |
commit | 1f0b317088aaeb230d69f13f43ed63b7406c6fd1 (patch) | |
tree | 2c29ab24e931d07f7348a0a1face364394bd7b52 /cmd-save-buffer.c | |
parent | df0983af39922f2ee747a244c1c718ba7ca28910 (diff) | |
download | rtmux-1f0b317088aaeb230d69f13f43ed63b7406c6fd1.tar.gz rtmux-1f0b317088aaeb230d69f13f43ed63b7406c6fd1.tar.bz2 rtmux-1f0b317088aaeb230d69f13f43ed63b7406c6fd1.zip |
Although we always have en_US.UTF-8 on OpenBSD, some platforms do not,
so fall back to setlocale(LC_CTYPE, ""). tmux requires a UTF-8 locale,
so check with wcwidth() on a UTF-8 character after setlocale().
Diffstat (limited to 'cmd-save-buffer.c')
0 files changed, 0 insertions, 0 deletions