[MPlayer-users] some comments about --enable-color-console

Giacomo Comes comes at naic.edu
Sat Nov 18 04:42:32 CET 2006


On Sat, Nov 18, 2006 at 01:05:41AM +0300, Andrew Savchenko wrote:
> On 17 Nov 2006 20:04, Giacomo Comes wrote:
> > 1) on exit, mplayer do not restore the text color of the console
> > before its execution. The final color will be just the last one
> > used by mplayer. That's annoying.
> 
> It's a known disadvantage. You are free to fix it.

Easy :-). Just define this function:

mplayer () {
    mplayer "$@" 
    echo -e '\E[39m'
}

Giacomo



More information about the MPlayer-users mailing list