Support NO_EMOJI env var and/or --no-emoji flag
I find their color & use of two character slots noisy/distracting in my terminal output. I would rather just turn them off. Seeing as they can cause issues with certain systems—proven by the existence of the isProbablyWindowsCommandPrompt which in name seems just a best guess—allow users to explicitly disable emoji, whatever their needs are.
Examples
- Homebrew: with
HOMEBREW_NO_EMOJI - Yarn: with
--no-emojiflag
You may be interested to know that you can already disable color in many tools (including esbuild) by having NO_COLOR=1 in your environment. Then you don't have to explicitly pass --color=false to esbuild on the CLI. See also: https://no-color.org/
These do come up together often (both for compatibility & accessibility/preference), but they are different requests. Setting this will not disable emoji according to my skimming of the code, just turns off the 16 terminal color escapes.