def center(win, rows=None, columns=None):
    """Return center point of Curses window."""
    _rows, _columns = win.getmaxyx()
    if rows is not None:
        _rows = rows
    if columns is not None:
        _columns = columns
    return _rows / 2, _columns / 2
