mirror of
https://forge.katzen.cafe/schrottkatze/nix-configs.git
synced 2024-11-30 00:18:44 +01:00
jrnl: remove debug stuff
This commit is contained in:
parent
7f72323bc2
commit
e65b60c50e
|
@ -17,12 +17,10 @@ pub fn list_entries(path: PathBuf) -> io::Result<()> {
|
|||
let l = format!(" {} ", crate::utils::format_datetime(entry.timestamp));
|
||||
|
||||
let fuck_you_debugging = cols as usize - (n.len() + r.chars().count() + l.len());
|
||||
dbg!(fuck_you_debugging);
|
||||
let padding = " ".repeat(fuck_you_debugging);
|
||||
|
||||
println!("{}{r}{padding}{}", n.cyan(), l.white())
|
||||
}
|
||||
println!("d");
|
||||
Ok(())
|
||||
} else {
|
||||
eprintln!("Parsing error...");
|
||||
|
|
Loading…
Reference in a new issue