def main(stdscr):
    curses.init_color(1, 0, 0, 0)
    lst = [['hii', 'hello', 'dkfjalkfjkjlkjlkj', 'lajdflkdf'], ['tab2', 'tambs']]
    stdscr.clear()
    a = Listdisplay(lst, 1, 1, 5, 10)
    time.sleep(2)
    a.scrollup()
    time.sleep(2)
    a.scrollup()
    time.sleep(2)
    a.scrolldown()
    time.sleep(2)
    a.switchtab_right()
    time.sleep(2)
    a.switchtab_left()
    time.sleep(2)
def main(stdscr):
    curses.init_color(1, 0, 0, 0)
    lst = [['hii', 'hello', 'dkfjalkfjkjlkjlkj', 'lajdflkdf'], ['tab2', 'tambs']]
    stdscr.clear()
    a = Listdisplay(lst, 1, 1, 5, 10)
    time.sleep(2)
    a.scrollup()
    time.sleep(2)
    a.scrollup()
    time.sleep(2)
    a.scrolldown()
    time.sleep(2)
    a.switchtab_right()
    time.sleep(2)
    a.switchtab_left()
    time.sleep(2)