docs: def msg_curse(self, args=None, max_width=None):
          """Return the dict to display in the curse interface."""
          # Init the return message
          ret = []
  
          # Only process if stats exist and display plugin enable...
          if args.disable_process:
              msg = "PROCESSES DISABLED (press 'z' to display)"
              ret.append(self.curse_add_line(msg))
              return ret
  
          if not self.stats:
              return ret
  
          # Display the filter (if it exists)
          if glances_processes.process_filter is not None:
              msg = 'Processes filter:'
              ret.append(self.curse_add_line(msg, "TITLE"))
              msg = ' {} '.format(glances_processes.process_filter)
              if glances_processes.process_filter_key is not None:
                  msg += 'on column {} '.format(glances_processes.process_filter_key)
              ret.append(self.curse_add_line(msg, "FILTER"))
              msg = '(\'ENTER\' to edit, \'E\' to reset)'
              ret.append(self.curse_add_line(msg))
              ret.append(self.curse_new_line())
  
          # Build the string message
          # Header
          msg = 'TASKS'
          ret.append(self.curse_add_line(msg, "TITLE"))
          # Compute processes
          other = self.stats['total']
          msg = '{:>4}'.format(self.stats['total'])
          ret.append(self.curse_add_line(msg))
  
          if 'thread' in self.stats:
              msg = ' ({} thr),'.format(self.stats['thread'])
              ret.append(self.curse_add_line(msg))
  
          if 'running' in self.stats:
              other -= self.stats['running']
              msg = ' {} run,'.format(self.stats['running'])
              ret.append(self.curse_add_line(msg))
  
          if 'sleeping' in self.stats:
              other -= self.stats['sleeping']
              msg = ' {} slp,'.format(self.stats['sleeping'])
              ret.append(self.curse_add_line(msg))
  
          msg = ' {} oth '.format(other)
          ret.append(self.curse_add_line(msg))
  
          # Display sort information
          try:
              sort_human = self.sort_for_human[glances_processes.sort_key]
          except KeyError:
              sort_human = '?'
          if glances_processes.auto_sort:
              msg = 'sorted automatically'
              ret.append(self.curse_add_line(msg))
              msg = ' by {}'.format(sort_human)
          else:
              msg = 'sorted by {}'.format(sort_human)
          ret.append(self.curse_add_line(msg))
  
          # Return the message with decoration
          return ret