From 2a2abfc511eb7fe248a5e794b2fa7946e6649214 Mon Sep 17 00:00:00 2001 From: dam Date: Sun, 2 Oct 2022 17:18:35 +0000 Subject: Added notes to readme. --- readme.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/readme.md b/readme.md index 927e0b5..32737d8 100644 --- a/readme.md +++ b/readme.md @@ -42,6 +42,10 @@ Task Time Tracker - [x] Allow usage of `ttt: ./ttt --dpath ./` to change the app folder: To changes app data path change the environment variable HOME (USERPROFILE for windows users). - [x] Clone (replicate) task; If task is active, mark newly created task as inactive; - [ ] Confirm delete_task operation. + - For actions that require confirmation, show confirmation message on selected line (horizontally centered) saying "Press enter to delete/archive. Any other to cancel." and await on `getch` for a `\n`. On archiving action this should only occur if the task is active. Use red/black for confirmation message surrounded by diamonds. Implement this using a function `bool get_confirmation(const char *message)`. +- [ ] Check if next/previous is safe against overflows/underflows using https://gcc.gnu.org/onlinedocs/gcc/Integer-Overflow-Builtins.html +- [ ] Check totals update speedup using https://gcc.gnu.org/onlinedocs/gcc/Integer-Overflow-Builtins.html +- [ ] Detect if using gcc https://stackoverflow.com/questions/28166565/detect-gcc-as-opposed-to-msvc-clang-with-macro - [ ] Change task order (using task_t tmp_task + memcpy); - [ ] Allow to jump to specific task by index number using key `g` and `G`; - [ ] Add/remove time using keys: `F3`; -- cgit v1.2.3