def _center_strip_right(text: str, width: int) -> str:
    """Returns a string with sufficient leading whitespace such that `text`
    would be centered within the specified `width` plus a trailing newline."""
    space = (width - len(text)) // 2
    return space * " " + text + "\n"