This commit is contained in:
Edward Langley
2026-04-06 23:21:06 -07:00
parent d76efa9e0e
commit 9b8f939245
2 changed files with 5 additions and 10 deletions

View File

@ -4,20 +4,12 @@ use ratatui::{
style::{Color, Modifier, Style},
widgets::Widget,
};
use unicode_width::UnicodeWidthStr;
use crate::model::Model;
use crate::ui::app::AppMode;
use crate::view::Axis;
fn axis_display(axis: Axis) -> (&'static str, Color) {
match axis {
Axis::Row => ("", Color::Green),
Axis::Column => ("", Color::Blue),
Axis::Page => ("", Color::Magenta),
Axis::None => ("", Color::DarkGray),
}
}
pub struct TileBar<'a> {
pub model: &'a Model,
pub mode: &'a AppMode,