mirror of
https://github.com/tmate-io/tmate.git
synced 2025-08-13 07:27:20 +02:00
Replication of bind/unbind commands
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user