def suspend():
        """
        Suspend curses in order to open another subprocess in the terminal.
        """

        try:
            curses.endwin()
            yield
        finally:
            curses.doupdate()

        Suspend curses in order to open another subprocess in the terminal.
        
rtv/terminal.py