MCPcopy Create free account
hub / github.com/FastLED/FastLED / red_text

Function red_text

ci/compiler/formatting_utils.py:22–32  ·  view source on GitHub ↗

Return text in red color for terminal output. Args: text: The text to format Returns: Text wrapped with ANSI red color codes

(text: str)

Source from the content-addressed store, hash-verified

20
21
22def red_text(text: str) -> str:
23 """
24 Return text in red color for terminal output.
25
26 Args:
27 text: The text to format
28
29 Returns:
30 Text wrapped with ANSI red color codes
31 """
32 return f"\033[31m{text}\033[0m"
33
34
35def yellow_text(text: str) -> str:

Callers 1

mainFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected