summaryrefslogtreecommitdiffstats
path: root/cmd-set-option.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-06-03 16:54:26 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-06-03 16:54:26 +0000
commit6521427a451b4044b9bf035d54c594cb1453ba48 (patch)
treed29c21afa0abf27125edffe09df48653b55d9ccf /cmd-set-option.c
parent7d45e29683119b31179295b3712142ebf8897a0d (diff)
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 'cmd-set-option.c')
-rw-r--r--cmd-set-option.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd-set-option.c b/cmd-set-option.c
index d4e90957..5c417325 100644
--- a/cmd-set-option.c
+++ b/cmd-set-option.c
@@ -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