diff options
author | 2009-06-03 16:54:26 +0000 | |
---|---|---|
committer | 2009-06-03 16:54:26 +0000 | |
commit | 653bc46736b2d336f0c78f8946b85e394f581924 (patch) | |
tree | b1f064a49551ac1565142c4ffde47595943182f6 /usr.bin/tmux/tmux.c | |
parent | Improve error checking for the secrets encoding function; ok gilles@ (diff) | |
download | wireguard-openbsd-653bc46736b2d336f0c78f8946b85e394f581924.tar.xz wireguard-openbsd-653bc46736b2d336f0c78f8946b85e394f581924.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 'usr.bin/tmux/tmux.c')
-rw-r--r-- | usr.bin/tmux/tmux.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.c b/usr.bin/tmux/tmux.c index 06b8085f656..de7b6dddf6d 100644 --- a/usr.bin/tmux/tmux.c +++ b/usr.bin/tmux/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> @@ -299,6 +299,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); |