aboutsummaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
authordam <dam@gudinoff>2022-11-13 02:30:31 +0000
committerdam <dam@gudinoff>2022-11-13 02:30:31 +0000
commitbbc11330984382e926e2a8e936e494193a0e2e23 (patch)
tree31e892128d74203f320dcf67f9c305352d7a41b7 /readme.md
parentd9a4fcd19f5e50eb916b6892464e3d97185306a5 (diff)
downloadtask-time-tracker-bbc11330984382e926e2a8e936e494193a0e2e23.tar.zst
task-time-tracker-bbc11330984382e926e2a8e936e494193a0e2e23.zip
Fixed truncate_string_utf8. Implemented read_input_to_string_buffer to simplify getting input.
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md3
1 files changed, 2 insertions, 1 deletions
diff --git a/readme.md b/readme.md
index 973c8d2..b5b955c 100644
--- a/readme.md
+++ b/readme.md
@@ -62,7 +62,7 @@ Task Time Tracker
- [ ] Compress code:
- [x] Re-do sprint_time5_utf8: -12 delta LOC;
- [x] Re-do truncate_string_utf8: 0 delta LOC;
- - [ ] Get input using `get_input(char *input, size_t size, int row, int column)` (what does it returns???):
+ - [ ] Implement `read_input_to_string_buffer`: -24 delta LOC;
- [ ] wrap malloc (and maybe others) in a function with error checking
```c
static inline void *MallocOrDie(size_t MemSize) { void *AllocMem = malloc(MemSize); /* Some implementations return null on a 0 length alloc, * we may as well allow this as it increases compatibility * with very few side effects */ if(!AllocMem && MemSize) { printf("Could not allocate memory!"); exit(-1); } return AllocMem; }
@@ -73,5 +73,6 @@ Task Time Tracker
- `sect_active(database_st *db, task_st *task)`
- [ ] Check if draw_tui may be simplified by drawing entire lines of tasks at once and draw columns separators after;
- [ ] Rename `MAX_TASK_NAME` to `TASK_NAME_BUFFER_SIZE`;
+- [ ] Try to fix flickering of ncurses;
- [ ] Review all code for bugs related to auto-cast on ptrdiff_t/size_t (signed/unsigned);
- [ ] Go over all `TODO` items;