new notes

This commit is contained in:
2026-02-03 11:36:20 +01:00
parent e58a986e9f
commit 1a6d05c05f
2 changed files with 9 additions and 1 deletions

View File

@@ -16,3 +16,8 @@
- [ ] Test 2 - [ ] Test 2
- [ ] Test 3 - [ ] Test 3
# 2026-02-03
- [ ] Test 2
- [ ] Test 3

View File

@@ -47,7 +47,8 @@ fn is_done(bytes: &[u8]) -> bool {
|| bytes == b"- [r]" // tried unsucessfully, have to retry || bytes == b"- [r]" // tried unsucessfully, have to retry
|| bytes == b"- [m]" // moved to a later, specified time || bytes == b"- [m]" // moved to a later, specified time
|| bytes == b"- [c]" // i will come back to this when i feel like it, but no need to track it now || bytes == b"- [c]" // i will come back to this when i feel like it, but no need to track it now
|| bytes == b"- [p]"; // Made progress, but not done || bytes == b"- [p]" // Made progress, but not done
|| bytes == b"- [q]"; // deprecated / morphed into another todo
} }
fn update_notes(notes_path: &Path) { fn update_notes(notes_path: &Path) {
@@ -76,6 +77,8 @@ fn update_notes(notes_path: &Path) {
let trimmed_str = linebuf.trim(); let trimmed_str = linebuf.trim();
let trimmed_bytes = trimmed_str.as_bytes(); let trimmed_bytes = trimmed_str.as_bytes();
dbg!(&linebuf, trimmed_str, trimmed_bytes);
let Some(prefix) = trimmed_bytes.get(0..5) else { let Some(prefix) = trimmed_bytes.get(0..5) else {
continue; continue;
}; };