AddColor

app.command.AddColor {
  source=string,
  color=Color
}

Adds a new color into the palette.

  • source: Can be "fg", "bg", or "color" (default). To add the foreground, background, or a specific color respectively.
  • color: A Color instance to add too the palette.

Example

app.command.AddColor {
  color=Color(255, 0, 0)
}

app.command.AddColor {
  source="fg"
}