'Return the dict to display in the curse interface.'

def msg_curse(self, args=None, max_width=None):

    ret = []
    if ((not self.stats) or args.disable_wifi or (not wifi_tag)):
        return ret
    if ((max_width is not None) and (max_width >= 23)):
        ifname_max_width = (max_width - 5)
    else:
        ifname_max_width = 16
    msg = '{:{width}}'.format('WIFI', width=ifname_max_width)
    ret.append(self.curse_add_line(msg, 'TITLE'))
    msg = '{:>7}'.format('dBm')
    ret.append(self.curse_add_line(msg))
    for i in sorted(self.stats, key=operator.itemgetter(self.get_key())):
        if (i['ssid'] == ''):
            continue
        ret.append(self.curse_new_line())
        hotspotname = i['ssid']
        if i['encrypted']:
            hotspotname += '    {}'.format(i['encryption_type'])
        if (len(hotspotname) > ifname_max_width):
            hotspotname = ('_' + hotspotname[((- ifname_max_width) + 1):])
        msg = '{:{width}}'.format(hotspotname, width=ifname_max_width)
        ret.append(self.curse_add_line(msg))
        msg = '{:>7}'.format(i['signal'], width=ifname_max_width)
        ret.append(self.curse_add_line(msg, self.get_views(item=i[self.get_key()], key='signal', option='decoration')))
    return ret
