scrin 0.1.37

A terminal UI toolkit with panes, widgets, overlays, animations, and Aisling-powered effects/loaders.
Documentation
pub mod barchart;
pub mod block;
pub mod canvas;
pub mod chart;
pub mod code;
pub mod gauge;
pub mod list;
pub mod markdown_output;
pub mod paragraph;
pub mod popup;
pub mod scrollbar;
pub mod sparkline;
pub mod table;
pub mod tabs;
pub mod toggle;

pub use barchart::BarChart;
pub use block::Block;
pub use canvas::Canvas;
pub use chart::Chart;
pub use code::CodeBlock;
pub use gauge::Gauge;
pub use list::List;
pub use markdown_output::MarkdownOutput;
pub use paragraph::Paragraph;
pub use popup::Popup;
pub use scrollbar::ScrollBar;
pub use sparkline::Sparkline;
pub use table::Table;
pub use tabs::Tabs;
pub use toggle::Toggle;

use crate::core::buffer::Buffer;
use crate::core::rect::Rect;

pub trait Widget {
    fn render(&self, buffer: &mut Buffer, area: Rect);
}