diff --git a/cmd-list-sessions.c b/cmd-list-sessions.c index bcefb200..81aa1bb3 100644 --- a/cmd-list-sessions.c +++ b/cmd-list-sessions.c @@ -1,4 +1,4 @@ -/* $Id: cmd-list-sessions.c,v 1.5 2007-10-19 22:32:54 nicm Exp $ */ +/* $Id: cmd-list-sessions.c,v 1.6 2007-10-23 09:36:07 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -61,7 +61,8 @@ cmd_list_sessions_exec(unused void *ptr, struct cmd_ctx *ctx) tim = ctime(&s->tim); *strchr(tim, '\n') = '\0'; - ctx->print(ctx, "%s: %u windows (created %s)", s->name, n, tim); + ctx->print(ctx, "%s: %u windows (created %s) [%ux%u]", s->name, + n, tim, s->sx, s->sy); } if (!(ctx->flags & CMD_KEY)) diff --git a/cmd-list-windows.c b/cmd-list-windows.c index 6e4716d2..6807845f 100644 --- a/cmd-list-windows.c +++ b/cmd-list-windows.c @@ -1,4 +1,4 @@ -/* $Id: cmd-list-windows.c,v 1.2 2007-10-04 22:04:01 nicm Exp $ */ +/* $Id: cmd-list-windows.c,v 1.3 2007-10-23 09:36:07 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -52,8 +52,9 @@ cmd_list_windows_exec(unused void *ptr, struct cmd_ctx *ctx) if (w == NULL) continue; - ctx->print(ctx, "%u: %s \"%s\" (%s)", - i, w->name, w->screen.title, ttyname(w->fd)); + ctx->print(ctx, + "%u: %s \"%s\" (%s) [%ux%u]", i, w->name, w->screen.title, + ttyname(w->fd), w->screen.sx, w->screen.sy); } if (!(ctx->flags & CMD_KEY))