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

def msg_curse(self, args=None):

    ret = []
    if ((not self.stats) and self.is_disable()):
        return ret
    ret.append(self.curse_add_line(global_message(), 'TITLE'))
    if self.stats:
        for alert in self.stats:
            ret.append(self.curse_new_line())
            msg = str(datetime.fromtimestamp(alert[0]))
            ret.append(self.curse_add_line(msg))
            if (alert[1] > 0):
                msg = '    ({})'.format((datetime.fromtimestamp(alert[1]) - datetime.fromtimestamp(alert[0])))
            else:
                msg = '    (ongoing)'
            ret.append(self.curse_add_line(msg))
            ret.append(self.curse_add_line('    -    '))
            if (alert[1] > 0):
                msg = '{}    on    {}'.format(alert[2], alert[3])
                ret.append(self.curse_add_line(msg))
            else:
                msg = str(alert[3])
                ret.append(self.curse_add_line(msg, decoration=alert[2]))
            if self.approx_equal(alert[6], alert[4], tolerance=0.1):
                msg = '    ({:.1f})'.format(alert[5])
            else:
                msg = '    (Min:{:.1f}    Mean:{:.1f}    Max:{:.1f})'.format(alert[6], alert[5], alert[4])
            ret.append(self.curse_add_line(msg))
            top_process = ',    '.join([p['name'] for p in alert[9]])
            if (top_process != ''):
                msg = ':    {}'.format(top_process)
                ret.append(self.curse_add_line(msg))
    return ret
