diary

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

commit 1a0b17c8132275d152c1ce4d3e071533626888b3
parent d0b2143245e914ab3c04222ad62bc753bccc3e04
Author: Johnathan Jenkins <john@nixheads.co.uk>
Date:   Fri, 25 Nov 2016 01:12:08 -0800

escape cancel delete

Diffstat:
Mdiary.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diary.c b/diary.c @@ -417,7 +417,7 @@ int main(int argc, char** argv) { prefresh(cal, pad_pos, 0, 1, ASIDE_WIDTH, LINES - 1, ASIDE_WIDTH + CAL_WIDTH); } - } else if (conf_ch == 'n') { + } else if (conf_ch == 27 || conf_ch == 'n') { update_date(header); } break;