added selectable instance to tui

This commit is contained in:
2026-03-27 12:16:08 +01:00
parent d746e830fd
commit 2322cd00d2
4 changed files with 123 additions and 3 deletions

12
src/tui/status.rs Normal file
View File

@@ -0,0 +1,12 @@
use ratatui::{text::Line, widgets::Widget};
pub struct StatusBar;
impl Widget for StatusBar {
fn render(self, area: ratatui::prelude::Rect, buf: &mut ratatui::prelude::Buffer)
where
Self: Sized {
Line::from("Up Down Left right").render(area, buf);
}
}