diff options
author | Lars Henriksen <LarsHenriksen@get2net.dk> | 2018-12-06 09:56:45 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2019-01-07 16:58:06 +0100 |
commit | 42abbf53463cbbdcd319063fcbfb91cf6ed5bdc5 (patch) | |
tree | a787439c222045a47484e30d6752c71635c41efc /src/calcurse.h | |
parent | 9300e9154c5f70aa6fb858452f0c3563d100850d (diff) | |
download | calcurse-42abbf53463cbbdcd319063fcbfb91cf6ed5bdc5.tar.gz calcurse-42abbf53463cbbdcd319063fcbfb91cf6ed5bdc5.zip |
Filter option: invert
New filter option: --filter-invert. When present it inverts (negates)
the other filter options combined. This is mostly useful with the -G
option (with -Q the output is limited by the query range (day range)).
The ouput from "calcurse -G <filter options>" is the (set) complement of
"calcurse -G <filter options> --filter-invert". Here <filter options>
may be any combination of filter options.
Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk>
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r-- | src/calcurse.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/calcurse.h b/src/calcurse.h index c6ddc8d..40e253e 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -427,6 +427,7 @@ enum item_type { /* Filter settings. */ struct item_filter { + int invert; int type_mask; char *hash; regex_t *regex; |