diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2010-03-18 21:06:40 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2010-03-18 21:06:40 +0000 |
commit | 659d15786ae6700350d9785264f9417a27d1ce6a (patch) | |
tree | 61d21f13c95aeae05f13472f606f2bd36ca66b14 /cmd-list.c | |
parent | 2307b91ecbd20914bcb2da30bc85e3cc79b0eba1 (diff) | |
download | rtmux-659d15786ae6700350d9785264f9417a27d1ce6a.tar.gz rtmux-659d15786ae6700350d9785264f9417a27d1ce6a.tar.bz2 rtmux-659d15786ae6700350d9785264f9417a27d1ce6a.zip |
Reset output functions too when changing client after attaching.
Diffstat (limited to 'cmd-list.c')
-rw-r--r-- | cmd-list.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: cmd-list.c,v 1.7 2010-02-02 23:51:04 tcunha Exp $ */ +/* $Id: cmd-list.c,v 1.8 2010-03-18 21:06:40 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -99,6 +99,10 @@ cmd_list_exec(struct cmd_list *cmdlist, struct cmd_ctx *ctx) if (ctx->curclient == NULL) { ctx->curclient = ctx->cmdclient; ctx->cmdclient = NULL; + + ctx->error = key_bindings_error; + ctx->print = key_bindings_print; + ctx->info = key_bindings_info; } } } |