Compare commits

..

No commits in common. "d5ccee916ce9834f47408f90d9278e3c426fa5f4" and "18ca798988fde4797e02d147010fc69f7f406b28" have entirely different histories.

View file

@ -4,7 +4,6 @@
use chrono::{DateTime, Datelike, Local, SubsecRound, Timelike};
use clap::Parser;
use libpt::cli::args::HELP_TEMPLATE;
use libpt::cli::clap::builder::styling::Color;
use libpt::cli::clap::ArgGroup;
use libpt::cli::{args::VerbosityLevel, clap};
use libpt::log::{debug, trace};
@ -100,7 +99,7 @@ impl Clock {
if Local::now()
.signed_duration_since(self.last_reset.unwrap())
.num_seconds()
>= len.as_secs()
== 0
{
self.last_reset = Some(Local::now());
}
@ -246,8 +245,6 @@ impl Clock {
frame.render_widget(datew, parts[1]);
if self.timebar_len().is_some() {
let timebarw = LineGauge::default()
.filled_style(Style::default().blue())
.unfilled_style(Style::default())
.block(Block::new().padding(Padding::new(
parts[2].left() / 10,
parts[2].right() / 6,