Function map_rect

Source
pub fn map_rect(p: &Pane, area: Rect, win_w: u16, win_h: u16) -> Rect
Expand description

Scale a pane’s tmux cell-geometry into the on-screen area.