diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-06-25 15:48:25 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-06-25 15:48:25 +0000 |
commit | 28bcf774e5cc13a1a7ab84b0c217c7286b179ea3 (patch) | |
tree | 264795ba6c54a95ca0bfeb09e5a2aa5f3dcfe4de /cmd-set-option.c | |
parent | 1e06ec41dc0bc9e99674d11ad3c810b579450e12 (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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd-set-option.c b/cmd-set-option.c index e26ede1e..f6a161b2 100644 --- a/cmd-set-option.c +++ b/cmd-set-option.c @@ -1,4 +1,4 @@ -/* $Id: cmd-set-option.c,v 1.60 2009-03-21 12:44:06 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 |