summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-set-option.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2009-06-03 16:54:26 +0000
committernicm <nicm@openbsd.org>2009-06-03 16:54:26 +0000
commit653bc46736b2d336f0c78f8946b85e394f581924 (patch)
treeb1f064a49551ac1565142c4ffde47595943182f6 /usr.bin/tmux/cmd-set-option.c
parentImprove error checking for the secrets encoding function; ok gilles@ (diff)
downloadwireguard-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/cmd-set-option.c')
-rw-r--r--usr.bin/tmux/cmd-set-option.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd-set-option.c b/usr.bin/tmux/cmd-set-option.c
index da5cd4ef09c..f6a161b29fb 100644
--- a/usr.bin/tmux/cmd-set-option.c
+++ b/usr.bin/tmux/cmd-set-option.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-set-option.c,v 1.1 2009/06/01 22:58:49 nicm Exp $ */
+/* $OpenBSD: cmd-set-option.c,v 1.2 2009/06/03 16:54:26 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -73,6 +73,7 @@ const struct set_option_entry set_option_table[NSETOPTION] = {
{ "status-left-length", SET_OPTION_NUMBER, 0, SHRT_MAX, NULL },
{ "status-right", SET_OPTION_STRING, 0, 0, NULL },
{ "status-right-length", SET_OPTION_NUMBER, 0, SHRT_MAX, NULL },
+ { "status-utf8", SET_OPTION_FLAG, 0, 0, NULL },
};
int