diff --git a/src/ui/rooms.rs b/src/ui/rooms.rs index 331e0b9..9a4f8c3 100644 --- a/src/ui/rooms.rs +++ b/src/ui/rooms.rs @@ -6,7 +6,7 @@ use crossterm::event::{KeyCode, KeyEvent}; use crossterm::style::{ContentStyle, Stylize}; use parking_lot::FairMutex; use tokio::sync::mpsc; -use toss::frame::{Frame, Pos, Size}; +use toss::frame::{Frame, Size}; use toss::styled::Styled; use toss::terminal::Terminal; diff --git a/src/ui/widgets.rs b/src/ui/widgets.rs index 0b08e13..7151aac 100644 --- a/src/ui/widgets.rs +++ b/src/ui/widgets.rs @@ -4,7 +4,7 @@ pub mod list; pub mod text; use async_trait::async_trait; -use toss::frame::{Frame, Pos, Size}; +use toss::frame::{Frame, Size}; #[async_trait] pub trait Widget { diff --git a/src/ui/widgets/empty.rs b/src/ui/widgets/empty.rs index 9aaf97e..6f95369 100644 --- a/src/ui/widgets/empty.rs +++ b/src/ui/widgets/empty.rs @@ -1,5 +1,5 @@ use async_trait::async_trait; -use toss::frame::{Frame, Pos, Size}; +use toss::frame::{Frame, Size}; use super::Widget;