reverse top-level constant

String const reverse

Reverse video or invert.

Swap foreground and background colors. Inconsistent emulation.

Same as invert.

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

  • +mac Terminal
  • +mac iTerm2
  • +as

See also notReversed.

Implementation

const String reverse = '${csi}7$sgr';