summaryrefslogtreecommitdiffstats
path: root/cmd-show-window-options.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-11-16 13:28:59 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-11-16 13:28:59 +0000
commit5ca710d9e3284393dfbd294915e9e4251b0fe728 (patch)
treea7d6dc2e37673d14fe88ec6bf68e644271c67e92 /cmd-show-window-options.c
parent46f5e42145ed34567b29c73032adbd8a41f5dfa2 (diff)
Disable UTF-8 by default and add options to enable it.
Diffstat (limited to 'cmd-show-window-options.c')
-rw-r--r--cmd-show-window-options.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd-show-window-options.c b/cmd-show-window-options.c
index abd4078b..bc8054dd 100644
--- a/cmd-show-window-options.c
+++ b/cmd-show-window-options.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-show-window-options.c,v 1.2 2008-06-29 07:04:30 nicm Exp $ */
+/* $Id: cmd-show-window-options.c,v 1.3 2008-11-16 13:28:59 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -62,6 +62,8 @@ cmd_show_window_options_exec(struct cmd *self, struct cmd_ctx *ctx)
ctx->print(ctx, "monitor-activity");
if (wl->window->flags & WINDOW_ZOMBIFY)
ctx->print(ctx, "remain-on-exit");
+ if (wl->window->flags & WINDOW_UTF8)
+ ctx->print(ctx, "utf8");
if (ctx->cmdclient != NULL)
server_write_client(ctx->cmdclient, MSG_EXIT, NULL, 0);