diff options
author | nicm <nicm> | 2019-03-07 19:01:21 +0000 |
---|---|---|
committer | nicm <nicm> | 2019-03-07 19:01:21 +0000 |
commit | 7f093fcddcf82c01b6c4d1446af2ebfac5d8a686 (patch) | |
tree | 4b0987bae22d0b1c4460f2bdff5e54a0862de938 /tmux.h | |
parent | 5cdd578906985c7abb9d1bba39384e201dada10e (diff) | |
download | rtmux-7f093fcddcf82c01b6c4d1446af2ebfac5d8a686.tar.gz rtmux-7f093fcddcf82c01b6c4d1446af2ebfac5d8a686.tar.bz2 rtmux-7f093fcddcf82c01b6c4d1446af2ebfac5d8a686.zip |
Make adding mode formats a function pointer as well.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -43,6 +43,7 @@ struct cmdq_item; struct cmdq_list; struct environ; struct format_job_tree; +struct format_tree; struct input_ctx; struct job; struct mode_tree_data; @@ -707,6 +708,7 @@ struct window_mode { void (*command)(struct window_pane *, struct client *, struct session *, struct winlink *, struct args *, struct mouse_event *); + void (*formats)(struct window_pane *, struct format_tree *); }; #define WINDOW_MODE_TIMEOUT 180 @@ -2304,8 +2306,6 @@ void printflike(2, 3) window_copy_add(struct window_pane *, const char *, ...); void window_copy_vadd(struct window_pane *, const char *, va_list); void window_copy_pageup(struct window_pane *, int); void window_copy_start_drag(struct client *, struct mouse_event *); -void window_copy_add_formats(struct window_pane *, - struct format_tree *); /* names.c */ void check_window_name(struct window *); |