summaryrefslogtreecommitdiffstats
path: root/cmd-server-info.c
authornicm <nicm>2009-01-18 18:06:37 (GMT)
committer nicm <nicm>2009-01-18 18:06:37 (GMT)
commitdaec0398544e92b683de1b92512b286668a4a447 (patch) (side-by-side diff)
tree79e27ca2dfd2d119192d67aa7f96ea41d323fee2 /cmd-server-info.c
parent6ed3fa120c0e6d252b40d94a102a8415f382902a (diff)
downloadtmux-old-daec0398544e92b683de1b92512b286668a4a447.zip
tmux-old-daec0398544e92b683de1b92512b286668a4a447.tar.gz
tmux-old-daec0398544e92b683de1b92512b286668a4a447.tar.bz2
Show tty flags too.
Diffstat (limited to 'cmd-server-info.c') (more/less context) (ignore whitespace changes)
-rw-r--r--cmd-server-info.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd-server-info.c b/cmd-server-info.c
index dc82a10..836a00d 100644
--- a/cmd-server-info.c
+++ b/cmd-server-info.c
@@ -85,8 +85,9 @@ cmd_server_info_exec(unused struct cmd *self, struct cmd_ctx *ctx)
continue;
ctx->print(ctx, "%4d: %s (%d, %d): %s [%ux%u %s] "
- "[flags=0x%x]", i, c->tty.path, c->fd, c->tty.fd,
- c->session->name, c->sx, c->sy, c->tty.termname, c->flags);
+ "[flags=0x%x/0x%x]", i, c->tty.path, c->fd, c->tty.fd,
+ c->session->name, c->sx, c->sy, c->tty.termname, c->flags,
+ c->tty.flags);
}
ctx->print(ctx, "");