aboutsummaryrefslogtreecommitdiffstats
path: root/src/calcurse.h
diff options
context:
space:
mode:
authorLars Henriksen <LarsHenriksen@get2net.dk>2020-10-07 19:51:18 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2020-10-11 09:59:35 -0400
commit95151e3f0c2a9935abe6e498fd056a57075ea0c5 (patch)
treea989360f2c061902c363a92e00c233f77f735822 /src/calcurse.h
parent4d9d50722a57be05bd3ba296721e0faf935c5b59 (diff)
downloadcalcurse-95151e3f0c2a9935abe6e498fd056a57075ea0c5.tar.gz
calcurse-95151e3f0c2a9935abe6e498fd056a57075ea0c5.zip
Add p(revious) command
The p(rev) command finds the previous occurrence of a recurrent item, analogous to the n(ext) command. A bug in the next command is corrected.. 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/calcurse.h b/src/calcurse.h
index 39a2af1..dca9d8b 100644
--- a/src/calcurse.h
+++ b/src/calcurse.h
@@ -1105,6 +1105,7 @@ void recur_event_paste_item(struct recur_event *, time_t);
void recur_apoint_paste_item(struct recur_apoint *, time_t);
int recur_next_occurrence(time_t, long, struct rpt *, llist_t *, time_t, time_t *);
int recur_nth_occurrence(time_t, long, struct rpt *, llist_t *, int, time_t *);
+int recur_prev_occurrence(time_t, long, struct rpt *, llist_t *, time_t, time_t *);
/* sigs.c */