diary

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

commit c34724bee2f932e93f0e2bf11f0ed1b13c2212db
parent 6cb50693138bfa9608559df162cf8b30f9ca0e02
Author: in0rdr <andreas.gruhler@uzh.ch>
Date:   Thu, 24 Nov 2016 15:14:10 +0800

Add 'x' shortcut to delete

Diffstat:
Mdiary.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/diary.c b/diary.c @@ -389,6 +389,7 @@ int main(int argc, char** argv) { break; // delete entry case 'd': + case 'x': if (date_has_entry(diary_dir, strlen(diary_dir), &curs_date)) { // get file path of entry and delete entry fpath(diary_dir, strlen(diary_dir), &curs_date, pth, sizeof pth);