aboutsummaryrefslogtreecommitdiff
path: root/tmux.h
diff options
context:
space:
mode:
authornicm <nicm>2017-01-09 21:03:25 +0000
committernicm <nicm>2017-01-09 21:03:25 +0000
commit844f2eacf46842e18689f3b3ef464f67ea81dc61 (patch)
tree475fa75709aa14335dfe4c63a6eb0d6635053e46 /tmux.h
parent561b5c6fdbdafae52ac5b4bd963f0d75af344c5b (diff)
downloadrtmux-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmux.h b/tmux.h
index 89794ecd..ce9cb85c 100644
--- a/tmux.h
+++ b/tmux.h
@@ -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 *);