diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-03-11 09:35:44 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2013-03-11 09:35:44 +0000 |
commit | c41d92d27a8083286793a58bc02ffc015d8c70ac (patch) | |
tree | 5847aa68545f1746ce5b2058d0d80bd446aff154 /tmux.h | |
parent | a060aa2bf091c7befbb37f86ef450cd575a3e53e (diff) | |
download | rtmux-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.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 *); |