diff options
author | Tiago Cunha <tcunha@gmx.com> | 2012-03-18 01:55:45 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2012-03-18 01:55:45 +0000 |
commit | 070d266aae6dd309d3fb9c4fab7d30f0fbc88854 (patch) | |
tree | d31640c8955a0e92359fed73be52586703bf79e3 /cmd-server-info.c | |
parent | 3b990ef6b20a5273a1f0c555cfa812d65312ceae (diff) |
Sync OpenBSD patchset 1054:
Send secondary DA to terminals with XT in terminfo when starting up and
parse it to work out the xterm version.
Diffstat (limited to 'cmd-server-info.c')
-rw-r--r-- | cmd-server-info.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cmd-server-info.c b/cmd-server-info.c index 8ce081f3..44c6375a 100644 --- a/cmd-server-info.c +++ b/cmd-server-info.c @@ -88,12 +88,12 @@ cmd_server_info_exec(unused struct cmd *self, struct cmd_ctx *ctx) if (c == NULL || c->session == NULL) continue; - ctx->print(ctx,"%2d: %s (%d, %d): %s [%ux%u %s bs=%hho] " - "[flags=0x%x/0x%x, references=%u]", i, c->tty.path, - c->ibuf.fd, c->tty.fd, c->session->name, + ctx->print(ctx,"%2d: %s (%d, %d): %s [%ux%u %s bs=%hho " + "xterm=%u] [flags=0x%x/0x%x, references=%u]", i, + c->tty.path, c->ibuf.fd, c->tty.fd, c->session->name, c->tty.sx, c->tty.sy, c->tty.termname, - c->tty.tio.c_cc[VERASE], c->flags, - c->tty.flags, c->references); + c->tty.tio.c_cc[VERASE], c->tty.xterm_version, + c->flags, c->tty.flags, c->references); } ctx->print(ctx, "%s", ""); |