diff --git a/crates/tek_core/src/lib.rs b/crates/tek_core/src/lib.rs index a7d68ed8..2a3a4550 100644 --- a/crates/tek_core/src/lib.rs +++ b/crates/tek_core/src/lib.rs @@ -46,6 +46,7 @@ submod! { handle render render_split + render_border time_base time_note time_tick diff --git a/crates/tek_core/src/render.rs b/crates/tek_core/src/render.rs index fe88de0e..896c6c3e 100644 --- a/crates/tek_core/src/render.rs +++ b/crates/tek_core/src/render.rs @@ -311,166 +311,6 @@ impl Theme for Nord { const SEPARATOR: Color = Color::Rgb(0, 0, 0); } -pub trait BorderStyle { - const NW: &'static str = ""; - const N: &'static str = ""; - const NE: &'static str = ""; - const E: &'static str = ""; - const SE: &'static str = ""; - const S: &'static str = ""; - const SW: &'static str = ""; - const W: &'static str = ""; - - #[inline] - fn draw (&self, buf: &mut Buffer, area: Rect) -> Usually { - self.draw_horizontal(buf, area, None)?; - self.draw_vertical(buf, area, None)?; - self.draw_corners(buf, area, None)?; - Ok(area) - } - - #[inline] - fn draw_horizontal (&self, buf: &mut Buffer, area: Rect, style: Option