'Get the information from pywifiphisher and print them out
: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 AccessPoint object if users type enter
:rtype AccessPoint if users type enter else None'

def gather_info(self, screen, info):

    curses.curs_set(0)
    screen.nodelay(True)
    curses.init_pair(1, curses.COLOR_BLACK, curses.COLOR_CYAN)
    self.highlight_text = curses.color_pair(1)
    self.normal_text = curses.A_NORMAL
    ap_info = self.init_display_info(screen, info)
    while (ap_info.key != 27):
        is_done = self.display_info(screen, ap_info)
        if is_done:
            self.access_point_finder.stop_finding_access_points()
            return self.access_points[(ap_info.pos - 1)]
    self.access_point_finder.stop_finding_access_points()
