miscset.sh.AnsiColor¶
- class miscset.sh.AnsiColor[source]¶
Bases:
objectA selection of shell ansi color strings.
Insert these values into strings to (de-)colorize shell outputs in a terminal.
See also: https://en.wikipedia.org/wiki/ANSI_escape_code#Colors
- __init__()¶
Methods
__init__()Attributes
- black = '\x1b[0;30m'¶
- blue = '\x1b[0;34m'¶
- cyan = '\x1b[0;36m'¶
- dark_gray = '\x1b[1;30m'¶
- green = '\x1b[0;32m'¶
- light_blue = '\x1b[1;34m'¶
- light_cyan = '\x1b[1;36m'¶
- light_gray = '\x1b[0;37m'¶
- light_green = '\x1b[1;32m'¶
- light_purple = '\x1b[1;35m'¶
- light_red = '\x1b[1;31m'¶
- orange = '\x1b[0;33m'¶
- purple = '\x1b[0;35m'¶
- red = '\x1b[0;31m'¶
- reset = '\x1b[0m'¶
- white = '\x1b[1;37m'¶
- yellow = '\x1b[1;33m'¶