summaryrefslogtreecommitdiff
path: root/src/calcurse.c
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2014-08-06 08:53:51 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2014-08-06 12:08:14 +0200
commitbfe73d0e5d66c43006a8a0dd8d58e311432bcb57 (patch)
tree584c1f12effddb2501566a872f7787be65124b89 /src/calcurse.c
parent4ec7fe123925144506297df5eba4ed41c6f8331d (diff)
downloadcalcurse-bfe73d0e5d66c43006a8a0dd8d58e311432bcb57.zip
Add item filters
This adds the following filter options that allow for restricting the set of items that are read from the appointments file: * --filter-type * --filter-start-from * --filter-start-to * --filter-start-after * --filter-start-before * --filter-end-from * --filter-end-to * --filter-end-after * --filter-end-before Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.c')
-rw-r--r--src/calcurse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/calcurse.c b/src/calcurse.c
index ffd7020..242a142 100644
--- a/src/calcurse.c
+++ b/src/calcurse.c
@@ -333,7 +333,7 @@ static inline void key_generic_reload(void)
todo_init_list();
io_load_todo();
- io_load_app();
+ io_load_app(NULL);
io_unset_modified();
ui_todo_load_items();
ui_todo_sel_reset();
@@ -684,7 +684,7 @@ int main(int argc, char **argv)
wins_erase_status_bar();
io_load_keys(conf.pager);
io_load_todo();
- io_load_app();
+ io_load_app(NULL);
io_unset_modified();
wins_slctd_set(conf.default_panel);
wins_resize();