diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2011-01-13 00:54:32 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2011-01-13 00:54:32 +0000 |
commit | 96ab50a701f0266dce610dc3a9d4aacb595065b0 (patch) | |
tree | 5c7e039caa54dc3655ad90def81c389e301ed392 | |
parent | b3438c86bfb69bfdda55e15525abcacd33738686 (diff) | |
download | rtmux-96ab50a701f0266dce610dc3a9d4aacb595065b0.tar.gz rtmux-96ab50a701f0266dce610dc3a9d4aacb595065b0.tar.bz2 rtmux-96ab50a701f0266dce610dc3a9d4aacb595065b0.zip |
Log termios backspace for each client since it is used to recognise
backspace input.
-rw-r--r-- | cmd-server-info.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd-server-info.c b/cmd-server-info.c index 4bd65143..2eaf142f 100644 --- a/cmd-server-info.c +++ b/cmd-server-info.c @@ -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", ""); |