diff options
author | Rostislav Pehlivanov <atomnuker@gmail.com> | 2015-07-21 20:53:23 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-10-09 20:40:31 +0200 |
commit | 918774b5aa321a146754006314c6f8eed8ecd8ec (patch) | |
tree | 92037410fc7efae69cdb3c1df230299e7bdc872f /video/sws_utils.c | |
parent | 89c854dc0952fbcb7cf810b8699710257d3a193d (diff) | |
download | mpv-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 'video/sws_utils.c')
0 files changed, 0 insertions, 0 deletions