angr.misc.ansi¶
- class angr.misc.ansi.Color¶
Bases:
EnumThe basic ansi colors
- black = 30¶
- red = 31¶
- green = 32¶
- yellow = 33¶
- blue = 34¶
- magenta = 35¶
- cyan = 36¶
- white = 37¶
- class angr.misc.ansi.BackgroundColor¶
Bases:
Enum- black = 40¶
- red = 41¶
- green = 42¶
- yellow = 43¶
- blue = 44¶
- magenta = 45¶
- cyan = 46¶
- white = 47¶
- angr.misc.ansi.color(c, bright)¶
Return the ansi prefix using the given code Bright may not be used with a BackgroundColor
- Parameters:
c (Color | BackgroundColor)
bright (bool)