pub fn handle_input(state: &mut MapState) -> Result<MapAction>
Poll for input events and update map state accordingly.
Returns MapAction::Resized when the terminal size changes, so the caller can trigger a re-render.
MapAction::Resized