version 1.9, 2009/09/02 17:34:57 |
version 1.10, 2009/09/07 21:01:50 |
|
|
continue; |
continue; |
|
|
ctx->print(ctx, "%2d: %s (%d, %d): %s [%ux%u %s] " |
ctx->print(ctx, "%2d: %s (%d, %d): %s [%ux%u %s] " |
"[flags=0x%x/0x%x]", i, c->tty.path, c->ibuf.fd, c->tty.fd, |
"[flags=0x%x/0x%x, references=%u]", i, c->tty.path, |
c->session->name, c->tty.sx, c->tty.sy, c->tty.termname, |
c->ibuf.fd, c->tty.fd, c->session->name, |
c->flags, c->tty.flags); |
c->tty.sx, c->tty.sy, c->tty.termname, c->flags, |
|
c->tty.flags, c->references); |
} |
} |
ctx->print(ctx, "%s", ""); |
ctx->print(ctx, "%s", ""); |
|
|
|
|
*strchr(tim, '\n') = '\0'; |
*strchr(tim, '\n') = '\0'; |
|
|
ctx->print(ctx, "%2u: %s: %u windows (created %s) [%ux%u] " |
ctx->print(ctx, "%2u: %s: %u windows (created %s) [%ux%u] " |
"[flags=0x%x]", i, s->name, winlink_count(&s->windows), |
"[flags=0x%x, references=%u]", i, s->name, |
tim, s->sx, s->sy, s->flags); |
winlink_count(&s->windows), tim, s->sx, s->sy, s->flags, |
|
s->references); |
RB_FOREACH(wl, winlinks, &s->windows) { |
RB_FOREACH(wl, winlinks, &s->windows) { |
w = wl->window; |
w = wl->window; |
ctx->print(ctx, "%4u: %s [%ux%u] [flags=0x%x, " |
ctx->print(ctx, "%4u: %s [%ux%u] [flags=0x%x, " |