diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-11-16 13:28:59 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-11-16 13:28:59 +0000 |
commit | 5ca710d9e3284393dfbd294915e9e4251b0fe728 (patch) | |
tree | a7d6dc2e37673d14fe88ec6bf68e644271c67e92 /session.c | |
parent | 46f5e42145ed34567b29c73032adbd8a41f5dfa2 (diff) | |
download | rtmux-5ca710d9e3284393dfbd294915e9e4251b0fe728.tar.gz rtmux-5ca710d9e3284393dfbd294915e9e4251b0fe728.tar.bz2 rtmux-5ca710d9e3284393dfbd294915e9e4251b0fe728.zip |
Disable UTF-8 by default and add options to enable it.
Diffstat (limited to 'session.c')
-rw-r--r-- | session.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: session.c,v 1.45 2008-11-16 10:10:26 nicm Exp $ */ +/* $Id: session.c,v 1.46 2008-11-16 13:28:59 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -209,6 +209,8 @@ session_new(struct session *s, const char *name, const char *cmd, int idx) if (options_get_number(&s->options, "remain-by-default")) w->flags |= WINDOW_ZOMBIFY; + if (options_get_number(&s->options, "utf8-default")) + w->flags |= WINDOW_UTF8; return (session_attach(s, w, idx)); } |