diff options
author | nicm <nicm> | 2017-02-03 11:57:27 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-02-03 11:57:27 +0000 |
commit | 7d23d019c0df197d724ced7fec21dc2047634c9b (patch) | |
tree | 7f07df20858bf10aef7db907bf4998b53fedd7db /tmux.h | |
parent | dd0c8147795c518de443c33895c614e52b42677f (diff) |
Add a window or pane id "tag" to each format tree and use it to separate
jobs, this means that if the same job is used for different windows or
panes (for example in pane-border-format), it will be run separately for
each pane.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1503,8 +1503,11 @@ char *paste_make_sample(struct paste_buffer *); #define FORMAT_STATUS 0x1 #define FORMAT_FORCE 0x2 #define FORMAT_NOJOBS 0x4 +#define FORMAT_NONE 0 +#define FORMAT_PANE 0x80000000U +#define FORMAT_WINDOW 0x40000000U struct format_tree; -struct format_tree *format_create(struct cmdq_item *, int); +struct format_tree *format_create(struct cmdq_item *, int, int); void format_free(struct format_tree *); void printflike(3, 4) format_add(struct format_tree *, const char *, const char *, ...); |