use ratatui::{style::{Modifier, Style}, widgets::{Paragraph, Widget}}; #[derive(Debug, Default)] pub struct Footer; impl Footer { pub fn new() -> Footer { return Footer {} } } impl Widget for &Footer { fn render(self, area: ratatui::prelude::Rect, buf: &mut ratatui::prelude::Buffer) { Paragraph::new("hellow") .style(Style::default().add_modifier(Modifier::REVERSED)) .render(area, buf); } }