Merge branch 'feat/timebar' of https://git.cscherr.de/PlexSheep/crock into feat/timebar

This commit is contained in:
Christoph J. Scherr 2024-07-10 15:03:21 +02:00 committed by PlexSheep
commit aaa7dd77e9
1 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@ use ratatui::style::{Style, Stylize};
use ratatui::widgets::{Block, LineGauge, Padding, Paragraph}; use ratatui::widgets::{Block, LineGauge, Padding, Paragraph};
use ratatui::Terminal; use ratatui::Terminal;
use std::io::Stdout; use std::io::Stdout;
use std::thread::{sleep, sleep_ms};
use std::time::{Duration, Instant}; use std::time::{Duration, Instant};
#[derive(Debug, Clone, Copy, PartialEq, Eq)] #[derive(Debug, Clone, Copy, PartialEq, Eq)]
@ -66,7 +67,7 @@ pub struct Clock {
} }
#[derive(Debug, Clone, PartialEq, Default)] #[derive(Debug, Clone, PartialEq, Default)]
pub(crate) struct UiData { pub struct UiData {
fdate: [String; 2], fdate: [String; 2],
ftime: [String; 2], ftime: [String; 2],
timebar_ratio: [Option<f64>; 2], timebar_ratio: [Option<f64>; 2],