summaryrefslogtreecommitdiff
path: root/src/calcurse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/calcurse.c')
-rwxr-xr-xsrc/calcurse.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/src/calcurse.c b/src/calcurse.c
index 051008d..ee9ac7d 100755
--- a/src/calcurse.c
+++ b/src/calcurse.c
@@ -1,4 +1,4 @@
-/* $calcurse: calcurse.c,v 1.85 2009/07/26 20:38:35 culot Exp $ */
+/* $calcurse: calcurse.c,v 1.86 2009/08/24 18:59:17 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -526,6 +526,16 @@ main (int argc, char **argv)
calendar_move (WEEK_END);
}
break;
+
+ case KEY_GENERIC_SCROLL_UP:
+ if (wins_slctd () == CAL)
+ calendar_view_prev ();
+ break;
+
+ case KEY_GENERIC_SCROLL_DOWN:
+ if (wins_slctd () == CAL)
+ calendar_view_next ();
+ break;
case KEY_GENERIC_QUIT:
if (conf.auto_save)