Searched refs:has_colors (Results 1 – 15 of 15) sorted by relevance
77 if curses.has_colors():117 if curses.has_colors():157 if curses.has_colors():174 if curses.has_colors():
270 virtual bool has_colors() const { return is_displayed(); } in has_colors() function422 bool has_colors() const override;
295 virtual bool has_colors() const { return is_displayed(); } in has_colors() function475 bool has_colors() const override;
50 if (!!has_colors() == !!use_color) { in init_colors()
103 return OS.has_colors(); in colorsEnabled()
860 bool raw_fd_ostream::has_colors() const { in has_colors() function in raw_fd_ostream
225 if (has_colors()) { /* Terminal supports color? */ in color_setup()444 if (has_colors()) { /* Whether terminal supports color? */ in draw_shadow()
453 bool has_colors = false; in si_vertex_color_clamping() local466 has_colors = true; in si_vertex_color_clamping()469 if (!has_colors) in si_vertex_color_clamping()
45 if not curses.has_colors():870 self.assertIsInstance(curses.has_colors(), bool)874 if not curses.has_colors():
687 bool raw_fd_ostream::has_colors() const { in has_colors() function in raw_fd_ostream
364 // isn't entirely obvious. We can use the curses routine 'has_colors' but it
348 // isn't entirely obvious. We can use the curses routine 'has_colors' but it
379 done, the :func:`~curses.has_colors` function returns TRUE if the terminal
3121 NoArgTrueFalseFunctionBody(has_colors) in _curses_has_colors_impl()
246 .. function:: has_colors()