diff options
author | nicm <nicm> | 2017-01-09 21:03:25 +0000 |
---|---|---|
committer | nicm <nicm> | 2017-01-09 21:03:25 +0000 |
commit | 844f2eacf46842e18689f3b3ef464f67ea81dc61 (patch) | |
tree | 475fa75709aa14335dfe4c63a6eb0d6635053e46 /tmux.h | |
parent | 561b5c6fdbdafae52ac5b4bd963f0d75af344c5b (diff) | |
download | rtmux-844f2eacf46842e18689f3b3ef464f67ea81dc61.tar.gz rtmux-844f2eacf46842e18689f3b3ef464f67ea81dc61.tar.bz2 rtmux-844f2eacf46842e18689f3b3ef464f67ea81dc61.zip |
Add simple comparisons in formats: #{==:a,b} and #{!=:a,b} ("a" and "b"
are expanded so can compare formats). And expand the condition to
#{?a,b,c} (the "a" part) if it doesn't work as a simple lookup.
Also add FORMAT_NOJOBS flag to disable jobs in a format.
Diffstat (limited to 'tmux.h')
-rw-r--r-- | tmux.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1568,6 +1568,7 @@ char *paste_make_sample(struct paste_buffer *); /* format.c */ #define FORMAT_STATUS 0x1 #define FORMAT_FORCE 0x2 +#define FORMAT_NOJOBS 0x4 struct format_tree; struct format_tree *format_create(struct cmdq_item *, int); void format_free(struct format_tree *); |