diff --git a/CHANGES b/CHANGES index 5738c752..9c91fcc9 100644 --- a/CHANGES +++ b/CHANGES @@ -6,7 +6,7 @@ $ tmux bind q switch 0 $ 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 commands, and change detach-/refresh-session to detach-/refresh-client (this 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 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 $ diff --git a/key-bindings.c b/key-bindings.c index 23d4c869..e8a85618 100644 --- a/key-bindings.c +++ b/key-bindings.c @@ -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 @@ -159,7 +159,7 @@ key_bindings_error(struct cmd_ctx *ctx, const char *fmt, ...) void key_bindings_print(struct cmd_ctx *ctx, const char *fmt, ...) { - struct client *c = ctx->cmdclient; + struct client *c = ctx->client; struct hdr hdr; va_list ap; char *msg;