new notes
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user