code: def terminal_sexy_to_wal(data):
      
      data["colors"] = {}
      data["special"] = {
          "foreground": data["foreground"],
          "background": data["background"],
          "cursor": data["color"][9]
      }
  
      for i, color in enumerate(data["color"]):
          data["colors"]["color%s" % i] = color
  
      return data
docs: Convert terminal.sexy json schema to wal.