Provides info about the terminal the makefile’s being run in
Bases: object
Abstracts color in a cross-platform way. Values and types will differ based on platform.
Bases: object
Provides access to cross-platform methods of getting terminal info and interacting with colored output.
Get the default color for this terminal
Returns: | The default color |
---|---|
Return type: | TermColor value |
Retrieve the current column count for this terminal
Returns: | Number of columns |
---|---|
Return type: | int |
Reset the color of the terminal to its default value
Set the color of the terminal
Parameters: | color (TermColor value) – The desired color |
---|
Check whether the active terminal supports colors.
Returns: | Whether or not color is supported |
---|---|
Return type: | bool |