Function hit

Source
pub fn hit(rects: &[(usize, Rect)], col: u16, row: u16) -> Option<usize>
Expand description

Pane under the cursor; the smallest containing box wins so borders never block selection of an inner pane.