version 1.26, 2013/07/05 15:27:14 |
version 1.27, 2013/10/10 11:47:11 |
|
|
format_add(ft, "client_cwd", "%s", c->cwd); |
format_add(ft, "client_cwd", "%s", c->cwd); |
format_add(ft, "client_height", "%u", c->tty.sy); |
format_add(ft, "client_height", "%u", c->tty.sy); |
format_add(ft, "client_width", "%u", c->tty.sx); |
format_add(ft, "client_width", "%u", c->tty.sx); |
format_add(ft, "client_tty", "%s", c->tty.path); |
if (c->tty.path != NULL) |
format_add(ft, "client_termname", "%s", c->tty.termname); |
format_add(ft, "client_tty", "%s", c->tty.path); |
|
if (c->tty.termname != NULL) |
|
format_add(ft, "client_termname", "%s", c->tty.termname); |
|
|
t = c->creation_time.tv_sec; |
t = c->creation_time.tv_sec; |
format_add(ft, "client_created", "%lld", (long long) t); |
format_add(ft, "client_created", "%lld", (long long) t); |