fn centered_rect(width: u16, height: u16, area: Rect) -> Rect
Compute a centered rectangle within the given area.