From 99bb795581de0468946fb8d86ea186f8a021952e Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sun, 18 Jan 2009 18:06:37 +0000 Subject: [PATCH] Show tty flags too. --- cmd-server-info.c | 7 ++++--- 1 file 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 @@ -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, "");