MCPcopy Index your code
hub / github.com/python/cpython / has_colors

Method has_colors

Lib/profiling/sampling/live_collector/display.py:109–110  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

107 self.stdscr.nodelay(flag)
108
109 def has_colors(self):
110 return curses.has_colors()
111
112 def init_color_pair(self, pair_id, fg, bg):
113 try:

Callers

nothing calls this directly

Calls 1

has_colorsMethod · 0.45

Tested by

no test coverage detected