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

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

    ret = []
    if ((not LINUX) or (not self.stats) or (not self.args.enable_irq)):
        return ret
    if ((max_width is not None) and (max_width >= 23)):
        irq_max_width = (max_width - 14)
    else:
        irq_max_width = 9
    msg = '{:{width}}'.format('IRQ', width=irq_max_width)
    ret.append(self.curse_add_line(msg, 'TITLE'))
    msg = '{:>14}'.format('Rate/s')
    ret.append(self.curse_add_line(msg))
    for i in self.stats:
        ret.append(self.curse_new_line())
        msg = '{:<15}'.format(i['irq_line'][:15])
        ret.append(self.curse_add_line(msg))
        msg = '{:>8}'.format(str(i['irq_rate']))
        ret.append(self.curse_add_line(msg))
    return ret
