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

def msg_curse(self, args=None):

    ret = []
    if ((not self.stats) or args.disable_process):
        return ret
    process_sort_key = glances_processes.sort_key
    self.__msg_curse_header(ret, process_sort_key, args)
    if glances_processes.is_tree_enabled():
        ret.extend(self.get_process_tree_curses_data(self.__sort_stats(process_sort_key), args, first_level=True, max_node_count=glances_processes.max_processes))
    else:
        first = True
        for p in self.__sort_stats(process_sort_key):
            ret.extend(self.get_process_curses_data(p, first, args))
            first = False
        if (glances_processes.process_filter is not None):
            if args.reset_minmax_tag:
                args.reset_minmax_tag = (not args.reset_minmax_tag)
                self.__mmm_reset()
            self.__msg_curse_sum(ret, args=args)
            self.__msg_curse_sum(ret, mmm='min', args=args)
            self.__msg_curse_sum(ret, mmm='max', args=args)
    return ret
