diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-01-18 18:06:37 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-01-18 18:06:37 +0000 |
commit | 99bb795581de0468946fb8d86ea186f8a021952e (patch) | |
tree | 9ef2da89b54742a2b178235f3afc798972d4cfed /cmd-server-info.c | |
parent | 3efd1f5014f889d276298e0b7411169ff50114bc (diff) |
Show tty flags too.
Diffstat (limited to 'cmd-server-info.c')
-rw-r--r-- | cmd-server-info.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cmd-server-info.c b/cmd-server-info.c index 95dfb2ec..5f1e1120 100644 --- a/cmd-server-info.c +++ b/cmd-server-info.c @@ -1,4 +1,4 @@ -/* $Id: cmd-server-info.c,v 1.7 2009-01-10 14:46:17 nicm Exp $ */ +/* $Id: cmd-server-info.c,v 1.8 2009-01-18 18:06:37 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net> @@ -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, ""); |