xref: /aosp_15_r20/external/angle/build/win/use_ansi_codes.py (revision 8975f5c5ed3d1c378011245431ada316dfb6f244)
1#!/usr/bin/env python3
2# Copyright 2015 The Chromium Authors
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5"""Prints if the the terminal is likely to understand ANSI codes."""
6
7
8import os
9
10# Add more terminals here as needed.
11print('ANSICON' in os.environ)
12