ConsoleOutput

Specifies how to treat color and dynamic console output.

Entries

Link copied to clipboard

Disable all color and rich output. Generate plain text only.

Link copied to clipboard

Enable color and rich output when the current process is attached to a console, disable when not attached to a console.

Link copied to clipboard

Enable color and rich output, regardless of whether the current process is attached to a console or not. When not attached to a console, the color and rich output is encoded using ANSI control characters.

Link copied to clipboard

Enable color and rich output like Rich, but output more detailed message.

Functions

Link copied to clipboard
open fun valueOf(name: String): ConsoleOutput

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.