Skip to content

feat(ENG-14143): adding checks for colour and interactivity suppression - #402

Draft
coillteoir wants to merge 1 commit into
masterfrom
pr402
Draft

feat(ENG-14143): adding checks for colour and interactivity suppression#402
coillteoir wants to merge 1 commit into
masterfrom
pr402

Conversation

@coillteoir

Copy link
Copy Markdown
Contributor

Adding checks in the CLI to supporess ANSI output and interactive prompts

ANSI suppression

  1. Check for non-empty NO_COLOUR flag
  2. Check for CS_FORCE_TTY flag to enable colour
  3. Check for TERM=dumb

Adding checks in the CLI to supporess ANSI output and interactive prompts

## ANSI suppression
1. Check for non-empty `NO_COLOUR` flag
2. Check for `CS_FORCE_TTY` flag to enable colour
3. Check for TERM=dumb

# Prompt suppression
// TODO
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant