pub fn window(
lines: Vec<String>,
focus_line: usize,
cursor: Option<(usize, usize)>,
footer: &str,
style: Style,
_width: usize,
height: usize,
) -> FrameExpand description
Trims the lines to fit the height, keeping the focused line in view, and adds the footer.