summaryrefslogtreecommitdiff
path: root/src/calcurse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/calcurse.c')
-rw-r--r--src/calcurse.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/calcurse.c b/src/calcurse.c
index 889c68c..a4dc802 100644
--- a/src/calcurse.c
+++ b/src/calcurse.c
@@ -423,6 +423,9 @@ static inline void key_generic_scroll_up(void)
if (wins_slctd() == CAL) {
ui_calendar_view_prev();
wins_update(FLAG_CAL | FLAG_APP);
+ } else if (wins_slctd() == TOD) {
+ ui_todo_view_prev();
+ wins_update(FLAG_TOD | FLAG_APP);
}
}
@@ -431,6 +434,9 @@ static inline void key_generic_scroll_down(void)
if (wins_slctd() == CAL) {
ui_calendar_view_next();
wins_update(FLAG_CAL | FLAG_APP);
+ } else if (wins_slctd() == TOD) {
+ ui_todo_view_next();
+ wins_update(FLAG_TOD | FLAG_APP);
}
}