intcode

Module with SGR param integer codes, contains a complete or almost complete list of reliably working ones.

Suitable for autocomplete() and build() library methods.

pytermor.intcode.RESET = 0

Hard reset code.

pytermor.intcode.BOLD = 1
pytermor.intcode.DIM = 2
pytermor.intcode.ITALIC = 3
pytermor.intcode.UNDERLINED = 4
pytermor.intcode.INVERSED = 7
pytermor.intcode.HIDDEN = 8
pytermor.intcode.CROSSLINED = 9
pytermor.intcode.DOUBLE_UNDERLINED = 21
pytermor.intcode.OVERLINED = 53
pytermor.intcode.NO_BOLD_DIM = 22

Note

There is no separate sequence for disabling either BOLD or DIM while keeping the other.

pytermor.intcode.ITALIC_OFF = 23
pytermor.intcode.UNDERLINED_OFF = 24
pytermor.intcode.INVERSED_OFF = 27
pytermor.intcode.HIDDEN_OFF = 28
pytermor.intcode.CROSSLINED_OFF = 29
pytermor.intcode.COLOR_OFF = 39
pytermor.intcode.BG_COLOR_OFF = 49
pytermor.intcode.OVERLINED_OFF = 55
pytermor.intcode.BLACK = 30
pytermor.intcode.RED = 31
pytermor.intcode.GREEN = 32
pytermor.intcode.YELLOW = 33
pytermor.intcode.BLUE = 34
pytermor.intcode.MAGENTA = 35
pytermor.intcode.CYAN = 36
pytermor.intcode.WHITE = 37
pytermor.intcode.BG_BLACK = 40
pytermor.intcode.BG_RED = 41
pytermor.intcode.BG_GREEN = 42
pytermor.intcode.BG_YELLOW = 43
pytermor.intcode.BG_BLUE = 44
pytermor.intcode.BG_MAGENTA = 45
pytermor.intcode.BG_CYAN = 46
pytermor.intcode.BG_WHITE = 47
pytermor.intcode.GRAY = 90
pytermor.intcode.HI_RED = 91
pytermor.intcode.HI_GREEN = 92
pytermor.intcode.HI_YELLOW = 93
pytermor.intcode.HI_BLUE = 94
pytermor.intcode.HI_MAGENTA = 95
pytermor.intcode.HI_CYAN = 96
pytermor.intcode.HI_WHITE = 97
pytermor.intcode.BG_GRAY = 100
pytermor.intcode.BG_HI_RED = 101
pytermor.intcode.BG_HI_GREEN = 102
pytermor.intcode.BG_HI_YELLOW = 103
pytermor.intcode.BG_HI_BLUE = 104
pytermor.intcode.BG_HI_MAGENTA = 105
pytermor.intcode.BG_HI_CYAN = 106
pytermor.intcode.BG_HI_WHITE = 107
pytermor.intcode.LIST_COLORS = [30, 31, 32, 33, 34, 35, 36, 37, 38]
pytermor.intcode.LIST_BG_COLORS = [40, 41, 42, 43, 44, 45, 46, 47, 48]
pytermor.intcode.LIST_HI_COLORS = [90, 91, 92, 93, 94, 95, 96, 97]
pytermor.intcode.LIST_BG_HI_COLORS = [100, 101, 102, 103, 104, 105, 106, 107]
pytermor.intcode.LIST_ALL_COLORS = [30, 31, 32, 33, 34, 35, 36, 37, 38, 40, 41, 42, 43, 44, 45, 46, 47, 48, 90, 91, 92, 93, 94, 95, 96, 97, 100, 101, 102, 103, 104, 105, 106, 107]