diff options
author | nicm <nicm> | 2015-11-12 11:09:11 +0000 |
---|---|---|
committer | nicm <nicm> | 2015-11-12 11:09:11 +0000 |
commit | 1b86f520ea1620628e569ea833c7b13306c18a4e (patch) | |
tree | 02c4aa83f31f42b1128171e9b6a0a566e564e416 /format.c | |
parent | a0f3999ce7b6df32324b493fa3c8007de93d2c48 (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 'format.c')
-rw-r--r-- | format.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1144,8 +1144,7 @@ format_defaults_pane(struct format_tree *ft, struct window_pane *wp) /* Set default format keys for paste buffer. */ void -format_defaults_paste_buffer(struct format_tree *ft, struct paste_buffer *pb, - int utf8flag) +format_defaults_paste_buffer(struct format_tree *ft, struct paste_buffer *pb) { size_t bufsize; char *s; @@ -1154,7 +1153,7 @@ format_defaults_paste_buffer(struct format_tree *ft, struct paste_buffer *pb, format_add(ft, "buffer_size", "%zu", bufsize); format_add(ft, "buffer_name", "%s", paste_buffer_name(pb)); - s = paste_make_sample(pb, utf8flag); + s = paste_make_sample(pb); format_add(ft, "buffer_sample", "%s", s); free(s); } |