Ooops use ->client here, not cmdclient.

This commit is contained in:
Nicholas Marriott 2007-11-16 21:43:43 +00:00
parent 85e4e820b6
commit 6859306235
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@
$ tmux bind q switch 0 $ tmux bind q switch 0
$ tmux bind w switch 1 $ tmux bind w switch 1
To switch between sessions 0 and 1 with a key :-). Then you can switch between sessions 0 and 1 with a key :-).
* (nicm) Accept "-c client-tty" on command line to allow client manipulation * (nicm) Accept "-c client-tty" on command line to allow client manipulation
commands, and change detach-/refresh-session to detach-/refresh-client (this commands, and change detach-/refresh-session to detach-/refresh-client (this
loses the -a behaviour, but at some point -session versions may return, and loses the -a behaviour, but at some point -session versions may return, and
@ -221,4 +221,4 @@
(including mutt, emacs). No status bar yet and no key remapping or other (including mutt, emacs). No status bar yet and no key remapping or other
customisation. customisation.
$Id: CHANGES,v 1.70 2007-11-16 21:31:03 nicm Exp $ $Id: CHANGES,v 1.71 2007-11-16 21:43:43 nicm Exp $

View File

@ -1,4 +1,4 @@
/* $Id: key-bindings.c,v 1.13 2007-11-16 21:12:31 nicm Exp $ */ /* $Id: key-bindings.c,v 1.14 2007-11-16 21:43:43 nicm Exp $ */
/* /*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@ -159,7 +159,7 @@ key_bindings_error(struct cmd_ctx *ctx, const char *fmt, ...)
void void
key_bindings_print(struct cmd_ctx *ctx, const char *fmt, ...) key_bindings_print(struct cmd_ctx *ctx, const char *fmt, ...)
{ {
struct client *c = ctx->cmdclient; struct client *c = ctx->client;
struct hdr hdr; struct hdr hdr;
va_list ap; va_list ap;
char *msg; char *msg;