Commit d1aff398 authored by Rafaël Carré's avatar Rafaël Carré

ncurses: use --color option

parent a88db786
...@@ -255,7 +255,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -255,7 +255,7 @@ static int Open( vlc_object_t *p_this )
p_sys->i_box_plidx = 0; p_sys->i_box_plidx = 0;
p_sys->i_box_bidx = 0; p_sys->i_box_bidx = 0;
p_sys->p_sub = msg_Subscribe( p_intf, MSG_QUEUE_NORMAL ); p_sys->p_sub = msg_Subscribe( p_intf, MSG_QUEUE_NORMAL );
p_sys->b_color = isatty( 0 ); p_sys->b_color = var_CreateGetBool( p_intf, "color" );
p_sys->b_color_started = false; p_sys->b_color_started = false;
#ifndef HAVE_NCURSESW #ifndef HAVE_NCURSESW
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment