Return to cmd-display-message.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.41, 2017/04/22 10:22:39 | version 1.42, 2017/05/01 12:20:55 | ||
---|---|---|---|
|
|
||
if (template == NULL) | if (template == NULL) | ||
template = DISPLAY_MESSAGE_TEMPLATE; | template = DISPLAY_MESSAGE_TEMPLATE; | ||
ft = format_create(item, FORMAT_NONE, 0); | ft = format_create(item->client, item, FORMAT_NONE, 0); | ||
format_defaults(ft, c, s, wl, wp); | format_defaults(ft, c, s, wl, wp); | ||
msg = format_expand_time(ft, template, time(NULL)); | msg = format_expand_time(ft, template, time(NULL)); |