def __init__(self, lst, start_x, start_y, height, width, headers=None) -> None:
    'Lst is 2-d. i th list in lst is content of i+1 tab\n\n        Each string in lst should not be of more length than width\n        scroling is available only in vertical direction\n        '
    self.start_x = start_x
    self.start_y = start_y
    self.height = height
    self.width = width
    self.currentpos = 0
    self.currenttab = 0
    self.lst = lst
    curses.curs_set(0)
    newwin = curses.newwin(height, width, start_y, start_x)
    newwin.border(0)
    newwin.refresh()
    self.display()
Lst is 2-d. i th list in lst is content of i+1 tab

Each string in lst should not be of more length than width
scroling is available only in vertical direction
def __init__(self, lst, start_x, start_y, height, width, headers=None) -> None:
    'Lst is 2-d. i th list in lst is content of i+1 tab\n\n        Each string in lst should not be of more length than width\n        scroling is available only in vertical direction\n        '
    self.start_x = start_x
    self.start_y = start_y
    self.height = height
    self.width = width
    self.currentpos = 0
    self.currenttab = 0
    self.lst = lst
    curses.curs_set(0)
    newwin = curses.newwin(height, width, start_y, start_x)
    newwin.border(0)
    newwin.refresh()
    self.display()