def get_text(io, prompt="", msg=None):
    """Prompt user to enter multiple lines of text."""
    py, px = io.getmaxyx()
    outwin = io.derwin(3-py,px-20, 3,10)
    outwin.box()
    outwin.addstr(0,5, (msg or "Enter text.") +" End with ^G.")
    outwin.refresh()
    win = outwin.derwin(py-5,px-22, 2,2)
    tb = curses.textpad.Textbox(win)
    text = tb.edit()
    win.erase()
    outwin.erase()
    return text
dataset/ETHPy150Open kdart/pycopia/CLI/pycopia/cursesio.py/get_text/swapped operands of `-`