diff options
author | 2017-01-09 21:03:25 +0000 | |
---|---|---|
committer | 2017-01-09 21:03:25 +0000 | |
commit | b51cc70cc7a85f9017c7d04161a69aaa7ad2d355 (patch) | |
tree | ecb9941e5e4d6850ae9ec244874009d3bbe6902e /usr.bin/tmux/tmux.h | |
parent | When a HT node leaves or reassociates as a non-HT node, (diff) | |
download | wireguard-openbsd-b51cc70cc7a85f9017c7d04161a69aaa7ad2d355.tar.xz wireguard-openbsd-b51cc70cc7a85f9017c7d04161a69aaa7ad2d355.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 'usr.bin/tmux/tmux.h')
-rw-r--r-- | usr.bin/tmux/tmux.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.h b/usr.bin/tmux/tmux.h index 816c049325a..e3064da4456 100644 --- a/usr.bin/tmux/tmux.h +++ b/usr.bin/tmux/tmux.h @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.h,v 1.686 2017/01/09 19:27:00 nicm Exp $ */ +/* $OpenBSD: tmux.h,v 1.687 2017/01/09 21:03:25 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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 *); |