commit b8cd9c485c958af024117c79d44781623e426968
parent 2516e186b57e66b7c9f1dc037e1fb704057f1504
Author: William Casarin <jb55@jb55.com>
Date: Tue, 4 Dec 2018 11:32:40 -0800
using cal msg
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/viscal.c b/viscal.c
@@ -1468,6 +1468,8 @@ static void next_calendar(struct cal *cal)
{
cal->selected_calendar_ind =
(cal->selected_calendar_ind + 1) % cal->ncalendars;
+ printf("using calendar %s\n",
+ cal->calendars[cal->selected_calendar_ind].source_location);
}
static gboolean on_keypress (GtkWidget *widget, GdkEvent *event,
@@ -1540,6 +1542,7 @@ static gboolean on_keypress (GtkWidget *widget, GdkEvent *event,
save_calendars(cal);
break;
+ // tab
case '\t':
next_calendar(cal);
break;