Roll src/third_party/WebKit 6b63e20:35e1984 (svn 201060:201061)
[chromium-blink-merge.git] / build / win / use_ansi_codes.py
blobcff5f43d25aa4e44ed75d927d64a2059a9aa17e2
1 #!/usr/bin/env python
2 # Copyright (c) 2015 The Chromium Authors. All rights reserved.
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."""
7 import os
9 # Add more terminals here as needed.
10 print 'ANSICON' in os.environ