aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2013-03-11 09:35:44 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2013-03-11 09:35:44 +0000
commitc41d92d27a8083286793a58bc02ffc015d8c70ac (patch)
tree5847aa68545f1746ce5b2058d0d80bd446aff154 /tmux.h
parenta060aa2bf091c7befbb37f86ef450cd575a3e53e (diff)
downloadrtmux-c41d92d27a8083286793a58bc02ffc015d8c70ac.tar.gz
rtmux-c41d92d27a8083286793a58bc02ffc015d8c70ac.tar.bz2
rtmux-c41d92d27a8083286793a58bc02ffc015d8c70ac.zip
Add time and a command count to control mode guards, based on code from George
Nachman.
Diffstat (limited to 'tmux.h')
-rw-r--r--tmux.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index e45cd487..89860cb8 100644
--- a/tmux.h
+++ b/tmux.h
@@ -1412,6 +1412,9 @@ struct cmd_q {
struct cmd_q_item *item;
struct cmd *cmd;
+ time_t time;
+ u_int number;
+
void (*emptyfn)(struct cmd_q *);
void *data;
@@ -1853,6 +1856,7 @@ int cmdq_free(struct cmd_q *);
void printflike2 cmdq_print(struct cmd_q *, const char *, ...);
void printflike2 cmdq_info(struct cmd_q *, const char *, ...);
void printflike2 cmdq_error(struct cmd_q *, const char *, ...);
+void cmdq_guard(struct cmd_q *, const char *);
void cmdq_run(struct cmd_q *, struct cmd_list *);
void cmdq_append(struct cmd_q *, struct cmd_list *);
int cmdq_continue(struct cmd_q *);