Drop mouse-utf8 option and always turn on UTF-8 mouse if the client says

it supports UTF-8.
This commit is contained in:
nicm
2015-11-11 23:23:33 +00:00
parent 6f3475c6c7
commit 00c34df186
4 changed files with 5 additions and 17 deletions

1
tmux.c
View File

@ -294,7 +294,6 @@ main(int argc, char **argv)
/* 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_s_options, "mouse-utf8", 1);
options_set_number(global_w_options, "utf8", 1);
}