summaryrefslogtreecommitdiffstats
path: root/tmux.c
diff options
context:
space:
mode:
authornicm <nicm>2015-11-12 11:09:11 +0000
committernicm <nicm>2015-11-12 11:09:11 +0000
commit1b86f520ea1620628e569ea833c7b13306c18a4e (patch)
tree02c4aa83f31f42b1128171e9b6a0a566e564e416 /tmux.c
parenta0f3999ce7b6df32324b493fa3c8007de93d2c48 (diff)
Nuke the utf8 and status-utf8 options and make tmux only a UTF-8
terminal. We still support non-UTF-8 terminals outside tmux, but inside it is always UTF-8 (as when the utf8 and status-utf8 options were on).
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/tmux.c b/tmux.c
index 1e68d9bb..9f9f9a50 100644
--- a/tmux.c
+++ b/tmux.c
@@ -291,12 +291,6 @@ main(int argc, char **argv)
global_w_options = options_create(NULL);
options_table_populate_tree(window_options_table, global_w_options);
- /* Enable UTF-8 if the first client is on UTF-8 terminal. */
- if (flags & CLIENT_UTF8) {
- options_set_number(global_s_options, "status-utf8", 1);
- options_set_number(global_w_options, "utf8", 1);
- }
-
/* Override keys to vi if VISUAL or EDITOR are set. */
if ((s = getenv("VISUAL")) != NULL || (s = getenv("EDITOR")) != NULL) {
if (strrchr(s, '/') != NULL)