aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2009-06-25 15:48:25 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2009-06-25 15:48:25 +0000
commit28bcf774e5cc13a1a7ab84b0c217c7286b179ea3 (patch)
tree264795ba6c54a95ca0bfeb09e5a2aa5f3dcfe4de /tmux.c
parent1e06ec41dc0bc9e99674d11ad3c810b579450e12 (diff)
downloadrtmux-28bcf774e5cc13a1a7ab84b0c217c7286b179ea3.tar.gz
rtmux-28bcf774e5cc13a1a7ab84b0c217c7286b179ea3.tar.bz2
rtmux-28bcf774e5cc13a1a7ab84b0c217c7286b179ea3.zip
New session option, status-utf8, to control the interpretation of top-bit-set
characters in status-left and status-right (if on, they are treated as UTF-8; otherwise passed through).
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tmux.c b/tmux.c
index 428df33d..670f9ac7 100644
--- a/tmux.c
+++ b/tmux.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.c,v 1.4 2009/06/02 16:53:20 sobrado Exp $ */
+/* $OpenBSD: tmux.c,v 1.5 2009/06/03 16:54:26 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -315,6 +315,7 @@ main(int argc, char **argv)
options_set_string(&global_options, "status-left", "[#S]");
options_set_string(
&global_options, "status-right", "\"#24T\" %%H:%%M %%d-%%b-%%y");
+ options_set_number(&global_options, "status-utf8", 0);
options_init(&global_window_options, NULL);
options_set_number(&global_window_options, "aggressive-resize", 0);