1 2 3 4 5 6 7 8 9
use std::time::Duration; use crate::layout::Size; /// Terminal dimensions and timing context shared across all components. pub struct RenderContext { pub terminal_size: Size, pub elapsed: Duration, }