pub fn centered_rect(width: u16, height: u16, area: Rect) -> Rect
Calculate a centered rectangle within an area