Remix
Remix
remix/terminal · FunctionView Source

shouldUseColors

Summary

Returns true when ANSI colors should be emitted for the given stream/environment.

Signature

function shouldUseColors(options: ColorSupportOptions): boolean;

Parameters

options

Color detection options

Returns

true when ANSI colors should be emitted