diff --git a/autotodo/data/notes.md b/autotodo/data/notes.md index 3b206b1..e628906 100644 --- a/autotodo/data/notes.md +++ b/autotodo/data/notes.md @@ -16,3 +16,8 @@ - [ ] Test 2 - [ ] Test 3 +# 2026-02-03 + +- [ ] Test 2 +- [ ] Test 3 + diff --git a/autotodo/src/main.rs b/autotodo/src/main.rs index 106082e..84bffb0 100644 --- a/autotodo/src/main.rs +++ b/autotodo/src/main.rs @@ -47,7 +47,8 @@ fn is_done(bytes: &[u8]) -> bool { || bytes == b"- [r]" // tried unsucessfully, have to retry || 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"- [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) { @@ -76,6 +77,8 @@ fn update_notes(notes_path: &Path) { let trimmed_str = linebuf.trim(); let trimmed_bytes = trimmed_str.as_bytes(); + + dbg!(&linebuf, trimmed_str, trimmed_bytes); let Some(prefix) = trimmed_bytes.get(0..5) else { continue; };