This adds formatting support to display-message.
---
 trunk/cmd-display-message.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/trunk/cmd-display-message.c b/trunk/cmd-display-message.c
index f7d75e3..64cbed8 100644
--- a/trunk/cmd-display-message.c
+++ b/trunk/cmd-display-message.c
@@ -75,7 +75,7 @@ cmd_display_message_exec(struct cmd *self, struct cmd_ctx 
*ctx)
        if (args->argc != 0)
                template = args->argv[0];
        if (template == NULL)
-               template = "[#S] #I:#W, current pane #P - (%H:%M %d-%b-%y)";
+               template = DEFAULT_DISPLAY_MESSAGE_TEMPLATE;
 
        ft = format_create();
        format_client(ft, c);
-- 
1.7.10


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to