diary

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

commit c8c952971f52db6fbda52a4d9f994952deaca0e1
parent d0b2143245e914ab3c04222ad62bc753bccc3e04
Author: Andreas Gruhler <andreas.gruhler@uzh.ch>
Date:   Fri, 25 Nov 2016 17:22:31 +0800

Merge pull request #17 from shaggytwodope/master

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;