~jb55/viscal

98c7824ed051f222a470a0cbb622e9c18b8e1a5a — William Casarin 11 months ago 8bed5c0
t: don't center view automatically

sometimes you just want to jump to now without messing with your view.
Maybe we should still center_view when we're not in the range at all.
1 files changed, 1 insertions(+), 1 deletions(-)

M viscal.c
M viscal.c => viscal.c +1 -1
@@ 860,7 860,7 @@ static void move_now(struct cal *cal)
{
	cal->current =
		get_smallest_closest_timeblock(time(NULL), SMALLEST_TIMEBLOCK);
	center_view(cal);
	//center_view(cal);
}

static void insert_event(struct cal *cal, time_t st, time_t et,