From 42abbf53463cbbdcd319063fcbfb91cf6ed5bdc5 Mon Sep 17 00:00:00 2001 From: Lars Henriksen Date: Thu, 6 Dec 2018 09:56:45 +0100 Subject: 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 " is the (set) complement of "calcurse -G --filter-invert". Here may be any combination of filter options. Signed-off-by: Lars Henriksen Signed-off-by: Lukas Fleischer --- src/calcurse.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/calcurse.h') 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; -- cgit v1.2.3-54-g00ecf