def init(self, s):

        # Hide cursor
        curses.curs_set(0)

        self.s = s
        self.s.keypad(1)

        self.set_screen_size()

        self.pads = {}
        self.offsets = {}

        self.init_help()
        self.init_streams_pad()
        self.current_pad = 'streams'

        self.set_title(TITLE_STRING)

        self.got_g = False

        signal.signal(28, self.resize)

        if self.config.CHECK_ONLINE_ON_START:
            self.check_online_streams()

        self.set_status('Ready')
Helper to solve trigonometric equations
dataset/ETHPy150Open gapato/livestreamer-curses/src/livestreamer_curses/streamlist.py/StreamList.init--crossover with--dataset/ETHPy150Open sympy/sympy/sympy/solvers/solveset.py/_solve_trig