aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-11-16 21:43:43 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-11-16 21:43:43 +0000
commit685930623534e1d0c6cd9dff91bb67b6593f844c (patch)
treecb015627bbef0fac929c77d26337e6083d71cdfa
parent85e4e820b606d2e8bbd71ebd5afc78468ef936be (diff)
downloadrtmux-685930623534e1d0c6cd9dff91bb67b6593f844c.tar.gz
rtmux-685930623534e1d0c6cd9dff91bb67b6593f844c.tar.bz2
rtmux-685930623534e1d0c6cd9dff91bb67b6593f844c.zip
Ooops use ->client here, not cmdclient.
-rw-r--r--CHANGES4
-rw-r--r--key-bindings.c4
2 files changed, 4 insertions, 4 deletions
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 <nicm@users.sourceforge.net>
@@ -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;