summaryrefslogtreecommitdiffstats
path: root/cmd-display-message.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-11-19 16:22:10 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-11-19 16:22:10 +0000
commit543fb99bc60a82eeb8c1e3fa47cdcb86a1e2fb33 (patch)
treed786032c6ea64b79aaea5ff7eb3a4b89047aee62 /cmd-display-message.c
parent8b8a2111852e9c2ce0cbc5e867d29ca78d4948a5 (diff)
Two new options, window-status-format and window-status-current-format, which
allow the format of each window in the status line window list to be controlled using similar # sequences as status-left/right. This diff also moves part of the way towards UTF-8 support in window names but it isn't quite there yet.
Diffstat (limited to 'cmd-display-message.c')
-rw-r--r--cmd-display-message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-display-message.c b/cmd-display-message.c
index be39857d..aa4fd5db 100644
--- a/cmd-display-message.c
+++ b/cmd-display-message.c
@@ -55,7 +55,7 @@ cmd_display_message_exec(struct cmd *self, struct cmd_ctx *ctx)
else
template = data->arg;
- msg = status_replace(c, template, time(NULL), 0);
+ msg = status_replace(c, NULL, template, time(NULL), 0);
status_message_set(c, "%s", msg);
xfree(msg);