summaryrefslogtreecommitdiffstats
path: root/cmd-server-info.c
authortcunha <tcunha>2011-01-21 23:51:36 (GMT)
committer tcunha <tcunha>2011-01-21 23:51:36 (GMT)
commiteac8f033bcce239193ee4aa22f7e3a518a3f7d27 (patch) (side-by-side diff)
treedd4bf9b385ad20532d0837a2a38a26bbd0b19021 /cmd-server-info.c
parent94a61444374eddf15d60074046227b9d98710908 (diff)
downloadtmux-old-eac8f033bcce239193ee4aa22f7e3a518a3f7d27.zip
tmux-old-eac8f033bcce239193ee4aa22f7e3a518a3f7d27.tar.gz
tmux-old-eac8f033bcce239193ee4aa22f7e3a518a3f7d27.tar.bz2
Sync OpenBSD patchset 839:
Log termios backspace for each client since it is used to recognise backspace input.
Diffstat (limited to 'cmd-server-info.c') (more/less context) (ignore whitespace changes)
-rw-r--r--cmd-server-info.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/cmd-server-info.c b/cmd-server-info.c
index b919f9e..9954153 100644
--- a/cmd-server-info.c
+++ b/cmd-server-info.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-server-info.c,v 1.41 2011/01/07 14:45:34 tcunha Exp $ */
+/* $Id: cmd-server-info.c,v 1.42 2011/01/21 23:51:36 tcunha Exp $ */
/*
* Copyright (c) 2008 Nicholas Marriott <[email protected]>
@@ -88,10 +88,11 @@ 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] "
+ 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,
- c->tty.sx, c->tty.sy, c->tty.termname, c->flags,
+ c->tty.sx, c->tty.sy, c->tty.termname,
+ c->tty.tio.c_cc[VERASE], c->flags,
c->tty.flags, c->references);
}
ctx->print(ctx, "%s", "");