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 not self.stats or self.is_disable():
              return ret
  
          # Max size for the interface name
          name_max_width = max_width - 12
  
          # Header
          msg = '{:{width}}'.format('SENSORS', width=name_max_width)
          ret.append(self.curse_add_line(msg, "TITLE"))
  
          # Stats
          for i in self.stats:
              # Do not display anything if no battery are detected
              if i['type'] == 'battery' and i['value'] == []:
                  continue
              # New line
              ret.append(self.curse_new_line())
              msg = '{:{width}}'.format(i["label"][:name_max_width],
                                        width=name_max_width)
              ret.append(self.curse_add_line(msg))
              if i['value'] in (b'ERR', b'SLP', b'UNK', b'NOS'):
                  msg = '{:>13}'.format(i['value'])
                  ret.append(self.curse_add_line(
                      msg, self.get_views(item=i[self.get_key()],
                                          key='value',
                                          option='decoration')))
              else:
                  if (args.fahrenheit and i['type'] != 'battery' and
                          i['type'] != 'fan_speed'):
                      value = to_fahrenheit(i['value'])
                      unit = 'F'
                  else:
                      value = i['value']
                      unit = i['unit']
                  try:
                      msg = '{:>13.0f}{}'.format(value, unit)
                      ret.append(self.curse_add_line(
                          msg, self.get_views(item=i[self.get_key()],
                                              key='value',
                                              option='decoration')))
                  except (TypeError, ValueError):
                      pass
  
          return ret