pub fn hit(rects: &[(usize, Rect)], col: u16, row: u16) -> Option<usize>
Pane under the cursor; the smallest containing box wins so borders never block selection of an inner pane.