Don't duplicate current session print
This commit is contained in:
parent
8b967001f4
commit
eeae39d050
|
@ -300,12 +300,6 @@ pub async fn status(settings: Settings) -> Result<(), CliError> {
|
||||||
const BOX_WIDTH: usize = 50;
|
const BOX_WIDTH: usize = 50;
|
||||||
const BAR_WIDTH: usize = 20;
|
const BAR_WIDTH: usize = 20;
|
||||||
|
|
||||||
// Print active session if exists
|
|
||||||
if status.active != "0" && status.active != "" {
|
|
||||||
println!("\n{}", "Current Session".bold());
|
|
||||||
println!("Active for: {}", status.active.yellow());
|
|
||||||
}
|
|
||||||
|
|
||||||
// Print weekly overview with visual bars
|
// Print weekly overview with visual bars
|
||||||
println!("\n{}", "Weekly Work Overview".bold());
|
println!("\n{}", "Weekly Work Overview".bold());
|
||||||
println!("╭{}╮", "─".repeat(BOX_WIDTH));
|
println!("╭{}╮", "─".repeat(BOX_WIDTH));
|
||||||
|
|
Loading…
Reference in New Issue