summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2015-07-21 20:53:23 +0100
committerwm4 <wm4@nowhere>2017-10-09 20:40:31 +0200
commit918774b5aa321a146754006314c6f8eed8ecd8ec (patch)
tree92037410fc7efae69cdb3c1df230299e7bdc872f /wscript_build.py
parent89c854dc0952fbcb7cf810b8699710257d3a193d (diff)
downloadmpv-918774b5aa321a146754006314c6f8eed8ecd8ec.tar.bz2
mpv-918774b5aa321a146754006314c6f8eed8ecd8ec.tar.xz
stats: print bold text in terminals
This simply prints ASCII codes to display any text marked as bold in the terminal. Supported by every sane terminal since 1986. For those insane, there's a check. The check has been copied from the ansicolors.lua script floating around and it checks if the directory path uses "\" instead of "/", and in case it does, it checks whether ANSICON env variable has been set (which is used to indicate the Windows terminal supports ACII escape sequences).
Diffstat (limited to 'wscript_build.py')
0 files changed, 0 insertions, 0 deletions