Replication of bind/unbind commands

This commit is contained in:
Nicolas Viennot
2013-06-11 22:45:33 -04:00
parent 839c4e3dd9
commit 35daf6d805
5 changed files with 38 additions and 10 deletions

View File

@ -23,6 +23,7 @@
#include <time.h>
#include "tmux.h"
#include "tmate.h"
/* Create new command queue. */
struct cmd_q *
@ -225,6 +226,11 @@ cmdq_continue(struct cmd_q *cmdq)
cmdq->time = time(NULL);
cmdq->number++;
#ifdef TMATE
if (tmate_should_replicate_cmd(cmdq->cmd->entry))
tmate_cmd(s);
#endif
guard = cmdq_guard(cmdq, "begin");
retval = cmdq->cmd->entry->exec(cmdq->cmd, cmdq);
if (guard) {