'Initialization of the ApDisplyInfo object
:param self: A TuiApSel object
:type self: TuiApSel
:param screen: A curses window object
:type screen: _curses.curses.window
:param info: A namedtuple of information from pywifiphisher
:type info: namedtuple
:return ApDisplayInfo object
:rtype: ApDisplayInfo'

def init_display_info(self, screen, info):

    position = 1
    page_number = 1
    (max_window_height, max_window_length) = screen.getmaxyx()
    if ((max_window_height < 14) or (max_window_length < 9)):
        box = curses.newwin(max_window_height, max_window_length, 0, 0)
        self.renew_box = True
    else:
        box = curses.newwin((max_window_height - 9), (max_window_length - 5), 4, 3)
    box.box()
    box_height = box.getmaxyx()[0]
    max_row = (box_height - 2)
    key = 0
    box_info = [max_window_height, max_window_length, max_row, key]
    ap_info = ApDisplayInfo(position, page_number, box, box_info)
    self.mac_matcher = info.mac_matcher
    self.access_point_finder = recon.AccessPointFinder(info.interface, info.network_manager)
    if info.args.lure10_capture:
        self.access_point_finder.capture_aps()
    self.access_point_finder.find_all_access_points()
    return ap_info
