src/clock.rs -> src/widgets/clock.rs
This commit is contained in:
parent
929e453d85
commit
04d3dced63
@ -1,9 +1,9 @@
|
||||
use crate::{
|
||||
clock::{self, Clock},
|
||||
constants::TICK_VALUE_MS,
|
||||
events::{Event, EventHandler, Events},
|
||||
terminal::Terminal,
|
||||
widgets::{
|
||||
clock::{self, Clock},
|
||||
countdown::{Countdown, CountdownWidget},
|
||||
footer::Footer,
|
||||
header::Header,
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
mod app;
|
||||
mod clock;
|
||||
mod config;
|
||||
mod constants;
|
||||
mod events;
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
pub mod clock;
|
||||
pub mod countdown;
|
||||
pub mod footer;
|
||||
pub mod header;
|
||||
|
||||
@ -8,9 +8,9 @@ use ratatui::{
|
||||
use std::cmp::max;
|
||||
|
||||
use crate::{
|
||||
clock::{self, Clock, ClockWidget},
|
||||
events::{Event, EventHandler},
|
||||
utils::center,
|
||||
widgets::clock::{self, Clock, ClockWidget},
|
||||
};
|
||||
|
||||
#[derive(Debug, Clone)]
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
use crate::{
|
||||
clock::{self, Clock, ClockWidget},
|
||||
events::{Event, EventHandler},
|
||||
utils::center,
|
||||
widgets::clock::{self, Clock, ClockWidget},
|
||||
};
|
||||
use ratatui::{
|
||||
buffer::Buffer,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user