def _set_screen_size(self, cols, rows ):
        
        if cols > MAX_COLS:
            cols = MAX_COLS
        if rows > MAX_ROWS:
            rows = MAX_ROWS
        self.screen_size = cols, rows
Set the screen size (within max size).
dataset/ETHPy150Open AnyMesh/anyMesh-Python/example/urwid/web_display.py/Screen._set_screen_size