Return to server-client.c CVS log | Up to [local] / src / usr.bin / tmux |
version 1.51, 2011/01/26 01:54:56 | version 1.52, 2011/03/29 19:30:16 | ||
---|---|---|---|
|
|
||
template = options_get_string(&s->options, "set-titles-string"); | template = options_get_string(&s->options, "set-titles-string"); | ||
title = status_replace(c, NULL, template, time(NULL), 1); | title = status_replace(c, NULL, NULL, NULL, template, time(NULL), 1); | ||
if (c->title == NULL || strcmp(title, c->title) != 0) { | if (c->title == NULL || strcmp(title, c->title) != 0) { | ||
if (c->title != NULL) | if (c->title != NULL) | ||
xfree(c->title); | xfree(c->title); |