Lines Matching +full:0 +full:x1b
19 * 0 = no
22 * Indexed 0:stdout, 1:stderr
26 #define ST_OUT 0
31 if (is_a_tty[0] == -1) { in decide_about_color()
32 is_a_tty[0] = isatty(STDOUT_FILENO); in decide_about_color()
39 #define ERROR 0
44 "\x1b[1;31m", /* ERROR - Foreground color = red, bold */
45 "\x1b[95m", /* WARNING - Foreground color = magenta */
46 "\x1b[0;39m", /* TRACE - reset all styles */
49 static const char trace_esc_end[] = "\x1b[0;39m"; /* Reset all styles */
103 is_a_tty[0] = 0; in trace_disable_color()
104 is_a_tty[1] = 0; in trace_disable_color()
109 is_a_tty[0] = -1; in trace_enable_color()
116 is_a_tty[0] = 1; in trace_force_color()
125 NSI_TASK(decide_about_color, PRE_BOOT_2, 0);
157 NSI_TASK(nsi_add_tracing_options, PRE_BOOT_1, 0);