[FFmpeg-cvslog] r22946 - trunk/libavutil/log.c
Måns Rullgård
mans
Thu Apr 22 23:01:22 CEST 2010
Michael Niedermayer <michaelni at gmx.at> writes:
> On Thu, Apr 22, 2010 at 09:32:24PM +0100, M?ns Rullg?rd wrote:
>> Please revert or disable this code while you figure out something that
>> works.
>
> ok
> does anyone know how we can cleanly detect if the used terminal supports
> ANSI codes?
That's what termcap/terminfo is for. This means either using ncurses
or doing a lot of dirty work ourselves, neither of which is very
thrilling.
On windows ANSI codes work only if the ansi.sys driver is loaded. I
don't know if that can be detected. I also don't know about other
systems.
--
M?ns Rullg?rd
mans at mansr.com
More information about the ffmpeg-cvslog
mailing list