Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/terminal > ITerminalWriteOptions > doNotOverrideSgrCodes

ITerminalWriteOptions.doNotOverrideSgrCodes property

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

If set to true, SGR parameters will not be replaced by the terminal standard (i.e. - red for errors, yellow for warnings).

Signature:

doNotOverrideSgrCodes?: boolean;