mirror of
https://github.com/tmux/tmux.git
synced 2024-12-13 01:48:47 +00:00
Show tty flags too.
This commit is contained in:
parent
3efd1f5014
commit
99bb795581
@ -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>
|
* 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;
|
continue;
|
||||||
|
|
||||||
ctx->print(ctx, "%4d: %s (%d, %d): %s [%ux%u %s] "
|
ctx->print(ctx, "%4d: %s (%d, %d): %s [%ux%u %s] "
|
||||||
"[flags=0x%x]", i, c->tty.path, c->fd, c->tty.fd,
|
"[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->session->name, c->sx, c->sy, c->tty.termname, c->flags,
|
||||||
|
c->tty.flags);
|
||||||
}
|
}
|
||||||
ctx->print(ctx, "");
|
ctx->print(ctx, "");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user