diff --git a/src/main.rs b/src/main.rs index 9328bd8..bdf59a9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -298,12 +298,12 @@ fn main() -> Result<()> { if parts.len() > 0 { let cmd = parts[0].to_string(); let args = if parts.len() > 1 { parts[1..].to_vec() } else { vec![] }; - debug!("◇ {}", cmd.clone()); - match eval(cmd.clone(), args) { - Ok(true) => info!("▷ {}", cmd), - Ok(false) => warn!("▷ {}", cmd), + debug!("◇ {} {}", cmd.clone(), args.join(" ")); + match eval(cmd.clone(), args.clone()) { + Ok(true) => info!("▷ {} {}", cmd, args.join(" ")), + Ok(false) => warn!("▷ {} {}", cmd, args.join(" ")), Err(e) => { - error!("▷ {}: {}", cmd, e); + error!("▷ {} {} ● {}", cmd, args.join(" "), e); println!("error: {}", e); }, } @@ -358,7 +358,7 @@ fn main() -> Result<()> { } if event.ctrl && event.code == key::L { - debug!("⎈ l: clear"); + info!("» clear"); let text = "\x1b[2J\x1b[0;0H"; unsafe { Error::check(Console::WriteConsoleA(stdout, text.as_bytes(), None, None))?;