From a35524b221949e33ea12c60d3fd77912f9a60217 Mon Sep 17 00:00:00 2001 From: dam Date: Sun, 25 Sep 2022 23:22:26 +0000 Subject: WIP: Allow to cancel rename operation. --- readme.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'readme.md') diff --git a/readme.md b/readme.md index 24f3f41..4ca6c10 100644 --- a/readme.md +++ b/readme.md @@ -28,12 +28,13 @@ Task Time Tracker - [x] Status of task will allow to keep counting time even when the process gets terminated forcefully; - [x] Review code: char !uint8_t; - [x] Make sure that only one task is running at each time; +- [x] Mouse selection is broken due to entire TUI update: No, it was fixed by using `erase()` on the `draw_tui` instead of `clear()`; +- [ ] Allow to cancel a rename_task operation. - [ ] Improve total_times: - Create function to recalculate them. Shouldn't take so long, right? - Decide when this will run. - Check for overflow/underflow when adding/subtracting times; - Only recalculate when we're potentially exiting a saturation point; -- [ ] Allow to cancel a rename_task operation. - [ ] Cleanup `draw_tui`: - Selected and active tasks should be drawn after everything else. - Try printing each row; @@ -41,9 +42,6 @@ Task Time Tracker - Allow to repaint just certain parts of the TUI; this should allow to call `draw_tui` with a flag saying which parts need to be drawn; - [ ] Confirm delete_task operation. - [ ] Implement logs as described above. -- [ ] Mouse selection is broken due to entire TUI update: - - By drawing only the lines that change, we can make the mouse selection not go away. - - Use DRAW_COMPONENT_FLAG to let draw_tui know what needs to be updated. - [ ] Change task order (use task_t tmp_task + memcpy); - [ ] Create task using keys: `c` and `C`; - [ ] Delete task using keys: `d` and `D`; -- cgit v1.2.3