diary

Text-based journaling program
git clone https://git.in0rdr.ch/diary.git
Log | Files | Refs | README | LICENSE

commit 15498784def88c773148df4a30b70e25d733b6eb
parent a72fc62a9839d509696a3d76c9a71a422b29ade5
Author: Ryan Bahneman <rbahneman@apple.com>
Date:   Tue, 22 Nov 2016 11:59:01 -0800

Show maximum history

Diffstat:
Mdiary.c | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/diary.c b/diary.c @@ -232,9 +232,9 @@ int main(int argc, char** argv) { int ch; struct tm new_date; - // init the current pad possition at the very end, - // such that the cursor is displayed top of screen - int pad_pos = 9999999; + // init the current pad possition at the very begining, + // such that the cursor is displayed bottom of screen + int pad_pos = 0; wmove(cal, 0, 0); getyx(cal, cy, cx);