viscal

cairo/gtk vi-like timeblocking calendar
git clone git://jb55.com/viscal
Log | Files | Refs | README | LICENSE

commit 6037ea36b1d2e5d8cc120a4a58be8d9cf04e2bb9
parent 23957727d8661994c109a5637180fb232768a254
Author: William Casarin <jb55@jb55.com>
Date:   Wed, 22 Aug 2018 08:45:04 -0700

no scroll

Diffstat:
Mviscal.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/viscal.c b/viscal.c @@ -129,7 +129,7 @@ calendar_create(struct cal *cal) { cal->ncalendars = 0; cal->nevents = 0; cal->start_at = 5*60*60; - cal->scroll = 5*60*60; + cal->scroll = 0; cal->repeat = 1; cal->today = today; cal->x = g_lmargin; @@ -495,6 +495,7 @@ static gboolean on_keypress (GtkWidget *widget, GdkEvent *event, gpointer user_ cal->chord = 'z'; } else if (cal->chord == 'z') { + // TODO: center around current time cal->chord = 0; cal->repeat = 1; }