jrnl: remove debug stuff

This commit is contained in:
Schrottkatze 2024-11-15 09:40:44 +01:00
parent 7f72323bc2
commit e65b60c50e
No known key found for this signature in database

View file

@ -17,12 +17,10 @@ pub fn list_entries(path: PathBuf) -> io::Result<()> {
let l = format!(" {} ", crate::utils::format_datetime(entry.timestamp)); let l = format!(" {} ", crate::utils::format_datetime(entry.timestamp));
let fuck_you_debugging = cols as usize - (n.len() + r.chars().count() + l.len()); let fuck_you_debugging = cols as usize - (n.len() + r.chars().count() + l.len());
dbg!(fuck_you_debugging);
let padding = " ".repeat(fuck_you_debugging); let padding = " ".repeat(fuck_you_debugging);
println!("{}{r}{padding}{}", n.cyan(), l.white()) println!("{}{r}{padding}{}", n.cyan(), l.white())
} }
println!("d");
Ok(()) Ok(())
} else { } else {
eprintln!("Parsing error..."); eprintln!("Parsing error...");