invert top-level constant

String const invert

Reverse video or invert.

Swap foreground and background colors. Inconsistent emulation.

Same as reverse.

Compatibility: +- -vscode (does not invert the default colors)

  • +mac Terminal
  • +mac iTerm2
  • +as

See also notInverted.

Implementation

const String invert = reverse;