use ratatui::prelude::*; /// A simple widget that just displays a list of `Line`s via a `Paragraph`. /// This is the default rendering backend for most `HistoryCell` variants. #[derive(Clone)] pub(crate) struct TextBlock { pub(crate) lines: Vec>, } impl TextBlock { pub(crate) fn new(lines: Vec>) -> Self { Self { lines } } }