Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
sgr(53) +'53 ?????' + rs.all,
sgr(54) +'54 ?????' + rs.all,
sgr(55) +'55 ?????' + rs.all,
sgr(56) +'56 ?????' + rs.all,
sgr(57) +'57 ?????' + rs.all,
sgr(58) +'58 ?????' + rs.all,
sgr(59) +'59 ?????' + rs.all,
sgr(60) +'60 ?????' + rs.all,
sgr(61) +'61 ?????' + rs.all,
sgr(62) +'62 ?????' + rs.all,
sgr(63) +'63 ?????' + rs.all,
sgr(64) +'64 ?????' + rs.all,
sgr(65) +'65 ?????' + rs.all,
sgr(66) +'66 ?????' + rs.all,
sgr(67) +'67 ?????' + rs.all,
sgr(68) +'68 ?????' + rs.all,
sgr(69) +'69 ?????' + rs.all,
sgr(70) +'70 ?????' + rs.all,
sgr(71) +'71 ?????' + rs.all,
sgr(72) +'72 ?????' + rs.all,
sgr(73) +'73 ?????' + rs.all,
sgr(74) +'74 ?????' + rs.all,
sgr(75) +'75 ?????' + rs.all,
sgr(76) +'76 ?????' + rs.all,
sgr(77) +'77 ?????' + rs.all,
sgr(78) +'78 ?????' + rs.all,
sgr(79) +'79 ?????' + rs.all,
sgr(80) +'80 ?????' + rs.all,
sgr(80) +'80 ?????' + rs.all,
sgr(81) +'81 ?????' + rs.all,
sgr(82) +'82 ?????' + rs.all,
sgr(83) +'83 ?????' + rs.all,
sgr(39) +'39 ?????' + rs.all,
sgr(40) +'40 ?????' + rs.all,
sgr(41) +'41 ?????' + rs.all,
sgr(42) +'42 ?????' + rs.all,
sgr(43) +'43 ?????' + rs.all,
sgr(44) +'44 ?????' + rs.all,
sgr(45) +'45 ?????' + rs.all,
sgr(46) +'46 ?????' + rs.all,
sgr(47) +'47 ?????' + rs.all,
sgr(48) +'48 ?????' + rs.all,
sgr(49) +'49 ?????' + rs.all,
sgr(50) +'50 ?????' + rs.all,
sgr(51) +'51 ?????' + rs.all,
sgr(52) +'52 ?????' + rs.all,
sgr(53) +'53 ?????' + rs.all,
sgr(54) +'54 ?????' + rs.all,
sgr(55) +'55 ?????' + rs.all,
sgr(56) +'56 ?????' + rs.all,
sgr(57) +'57 ?????' + rs.all,
sgr(58) +'58 ?????' + rs.all,
sgr(59) +'59 ?????' + rs.all,
sgr(60) +'60 ?????' + rs.all,
sgr(61) +'61 ?????' + rs.all,
sgr(62) +'62 ?????' + rs.all,
sgr(63) +'63 ?????' + rs.all,
sgr(64) +'64 ?????' + rs.all,
sgr(65) +'65 ?????' + rs.all,
sgr(66) +'66 ?????' + rs.all,
sgr(67) +'67 ?????' + rs.all,
sgr(68) +'68 ?????' + rs.all,
sgr(69) +'69 ?????' + rs.all,
sgr(70) +'70 ?????' + rs.all,
sgr(82) +'82 ?????' + rs.all,
sgr(83) +'83 ?????' + rs.all,
sgr(84) +'84 ?????' + rs.all,
sgr(85) +'85 ?????' + rs.all,
sgr(86) +'86 ?????' + rs.all,
sgr(87) +'87 ?????' + rs.all,
sgr(88) +'88 ?????' + rs.all,
sgr(89) +'89 ?????' + rs.all,
sgr(90) +'90 ?????' + rs.all,
sgr(91) +'91 ?????' + rs.all,
sgr(92) +'92 ?????' + rs.all,
sgr(93) +'93 ?????' + rs.all,
sgr(94) +'94 ?????' + rs.all,
sgr(95) +'95 ?????' + rs.all,
sgr(96) +'96 ?????' + rs.all,
sgr(97) +'97 ?????' + rs.all,
sgr(98) +'98 ?????' + rs.all,
sgr(99) +'99 ?????' + rs.all,
sgr(100) + '?????' + rs.all,
sgr(101) + '?????' + rs.all,
sgr(102) + '?????' + rs.all,
sgr(103) + '?????' + rs.all,
sgr(104) + '?????' + rs.all,
sgr(105) + '?????' + rs.all,
sgr(106) + '?????' + rs.all,
sgr(107) + '?????' + rs.all,
sgr(108) + '?????' + rs.all,
sgr(109) + '?????' + rs.all,
]
for item in items:
print(item)
sgr(30) +'30 ?????' + rs.all,
sgr(31) +'31 ?????' + rs.all,
sgr(32) +'32 ?????' + rs.all,
sgr(33) +'33 ?????' + rs.all,
sgr(34) +'34 ?????' + rs.all,
sgr(35) +'35 ?????' + rs.all,
sgr(36) +'36 ?????' + rs.all,
sgr(37) +'37 ?????' + rs.all,
sgr(38) +'38 ?????' + rs.all,
sgr(39) +'39 ?????' + rs.all,
sgr(40) +'40 ?????' + rs.all,
sgr(41) +'41 ?????' + rs.all,
sgr(42) +'42 ?????' + rs.all,
sgr(43) +'43 ?????' + rs.all,
sgr(44) +'44 ?????' + rs.all,
sgr(45) +'45 ?????' + rs.all,
sgr(46) +'46 ?????' + rs.all,
sgr(47) +'47 ?????' + rs.all,
sgr(48) +'48 ?????' + rs.all,
sgr(49) +'49 ?????' + rs.all,
sgr(50) +'50 ?????' + rs.all,
sgr(51) +'51 ?????' + rs.all,
sgr(52) +'52 ?????' + rs.all,
sgr(53) +'53 ?????' + rs.all,
sgr(54) +'54 ?????' + rs.all,
sgr(55) +'55 ?????' + rs.all,
sgr(56) +'56 ?????' + rs.all,
sgr(57) +'57 ?????' + rs.all,
sgr(58) +'58 ?????' + rs.all,
sgr(59) +'59 ?????' + rs.all,
sgr(60) +'60 ?????' + rs.all,
sgr(61) +'61 ?????' + rs.all,
sgr(59) +'59 ?????' + rs.all,
sgr(60) +'60 ?????' + rs.all,
sgr(61) +'61 ?????' + rs.all,
sgr(62) +'62 ?????' + rs.all,
sgr(63) +'63 ?????' + rs.all,
sgr(64) +'64 ?????' + rs.all,
sgr(65) +'65 ?????' + rs.all,
sgr(66) +'66 ?????' + rs.all,
sgr(67) +'67 ?????' + rs.all,
sgr(68) +'68 ?????' + rs.all,
sgr(69) +'69 ?????' + rs.all,
sgr(70) +'70 ?????' + rs.all,
sgr(71) +'71 ?????' + rs.all,
sgr(72) +'72 ?????' + rs.all,
sgr(73) +'73 ?????' + rs.all,
sgr(74) +'74 ?????' + rs.all,
sgr(75) +'75 ?????' + rs.all,
sgr(76) +'76 ?????' + rs.all,
sgr(77) +'77 ?????' + rs.all,
sgr(78) +'78 ?????' + rs.all,
sgr(79) +'79 ?????' + rs.all,
sgr(80) +'80 ?????' + rs.all,
sgr(80) +'80 ?????' + rs.all,
sgr(81) +'81 ?????' + rs.all,
sgr(82) +'82 ?????' + rs.all,
sgr(83) +'83 ?????' + rs.all,
sgr(84) +'84 ?????' + rs.all,
sgr(85) +'85 ?????' + rs.all,
sgr(86) +'86 ?????' + rs.all,
sgr(87) +'87 ?????' + rs.all,
sgr(88) +'88 ?????' + rs.all,
sgr(89) +'89 ?????' + rs.all,
sgr(5) + '5 blink' + rs.all,
sgr(6) + '6 ?????' + rs.all,
sgr(7) + '7 inverse' + rs.all,
sgr(8) + '8 hidden' + rs.all,
sgr(9) + '9 strike' + rs.all,
sgr(10) +'10 ?????' + rs.all,
sgr(11) +'11 ?????' + rs.all,
sgr(12) +'12 ?????' + rs.all,
sgr(13) +'13 ?????' + rs.all,
sgr(14) +'14 ?????' + rs.all,
sgr(15) +'15 ?????' + rs.all,
sgr(16) +'16 ?????' + rs.all,
sgr(17) +'17 ?????' + rs.all,
sgr(18) +'18 ?????' + rs.all,
sgr(19) +'19 ?????' + rs.all,
sgr(20) +'20 ?????' + rs.all,
sgr(21) +'21 ?????' + rs.all,
sgr(22) +'22 rs_bold_faint' + rs.all,
sgr(23) +'23 rs_italic' + rs.all,
sgr(24) +'24 rs_underlined' + rs.all,
sgr(25) +'25 rs_blink' + rs.all,
sgr(26) +'26 ????? ' + rs.all,
sgr(27) +'27 ????? ' + rs.all,
sgr(28) +'28 rs_hidden' + rs.all,
sgr(29) +'29 rs_strike' + rs.all,
sgr(30) +'30 ?????' + rs.all,
sgr(31) +'31 ?????' + rs.all,
sgr(32) +'32 ?????' + rs.all,
sgr(33) +'33 ?????' + rs.all,
sgr(34) +'34 ?????' + rs.all,
sgr(35) +'35 ?????' + rs.all,
sgr(36) +'36 ?????' + rs.all,
sgr(84) +'84 ?????' + rs.all,
sgr(85) +'85 ?????' + rs.all,
sgr(86) +'86 ?????' + rs.all,
sgr(87) +'87 ?????' + rs.all,
sgr(88) +'88 ?????' + rs.all,
sgr(89) +'89 ?????' + rs.all,
sgr(90) +'90 ?????' + rs.all,
sgr(91) +'91 ?????' + rs.all,
sgr(92) +'92 ?????' + rs.all,
sgr(93) +'93 ?????' + rs.all,
sgr(94) +'94 ?????' + rs.all,
sgr(95) +'95 ?????' + rs.all,
sgr(96) +'96 ?????' + rs.all,
sgr(97) +'97 ?????' + rs.all,
sgr(98) +'98 ?????' + rs.all,
sgr(99) +'99 ?????' + rs.all,
sgr(100) + '?????' + rs.all,
sgr(101) + '?????' + rs.all,
sgr(102) + '?????' + rs.all,
sgr(103) + '?????' + rs.all,
sgr(104) + '?????' + rs.all,
sgr(105) + '?????' + rs.all,
sgr(106) + '?????' + rs.all,
sgr(107) + '?????' + rs.all,
sgr(108) + '?????' + rs.all,
sgr(109) + '?????' + rs.all,
]
for item in items:
print(item)
sgr(75) +'75 ?????' + rs.all,
sgr(76) +'76 ?????' + rs.all,
sgr(77) +'77 ?????' + rs.all,
sgr(78) +'78 ?????' + rs.all,
sgr(79) +'79 ?????' + rs.all,
sgr(80) +'80 ?????' + rs.all,
sgr(80) +'80 ?????' + rs.all,
sgr(81) +'81 ?????' + rs.all,
sgr(82) +'82 ?????' + rs.all,
sgr(83) +'83 ?????' + rs.all,
sgr(84) +'84 ?????' + rs.all,
sgr(85) +'85 ?????' + rs.all,
sgr(86) +'86 ?????' + rs.all,
sgr(87) +'87 ?????' + rs.all,
sgr(88) +'88 ?????' + rs.all,
sgr(89) +'89 ?????' + rs.all,
sgr(90) +'90 ?????' + rs.all,
sgr(91) +'91 ?????' + rs.all,
sgr(92) +'92 ?????' + rs.all,
sgr(93) +'93 ?????' + rs.all,
sgr(94) +'94 ?????' + rs.all,
sgr(95) +'95 ?????' + rs.all,
sgr(96) +'96 ?????' + rs.all,
sgr(97) +'97 ?????' + rs.all,
sgr(98) +'98 ?????' + rs.all,
sgr(99) +'99 ?????' + rs.all,
sgr(100) + '?????' + rs.all,
sgr(101) + '?????' + rs.all,
sgr(102) + '?????' + rs.all,
sgr(103) + '?????' + rs.all,
sgr(104) + '?????' + rs.all,
sgr(105) + '?????' + rs.all,
sgr(44) +'44 ?????' + rs.all,
sgr(45) +'45 ?????' + rs.all,
sgr(46) +'46 ?????' + rs.all,
sgr(47) +'47 ?????' + rs.all,
sgr(48) +'48 ?????' + rs.all,
sgr(49) +'49 ?????' + rs.all,
sgr(50) +'50 ?????' + rs.all,
sgr(51) +'51 ?????' + rs.all,
sgr(52) +'52 ?????' + rs.all,
sgr(53) +'53 ?????' + rs.all,
sgr(54) +'54 ?????' + rs.all,
sgr(55) +'55 ?????' + rs.all,
sgr(56) +'56 ?????' + rs.all,
sgr(57) +'57 ?????' + rs.all,
sgr(58) +'58 ?????' + rs.all,
sgr(59) +'59 ?????' + rs.all,
sgr(60) +'60 ?????' + rs.all,
sgr(61) +'61 ?????' + rs.all,
sgr(62) +'62 ?????' + rs.all,
sgr(63) +'63 ?????' + rs.all,
sgr(64) +'64 ?????' + rs.all,
sgr(65) +'65 ?????' + rs.all,
sgr(66) +'66 ?????' + rs.all,
sgr(67) +'67 ?????' + rs.all,
sgr(68) +'68 ?????' + rs.all,
sgr(69) +'69 ?????' + rs.all,
sgr(70) +'70 ?????' + rs.all,
sgr(71) +'71 ?????' + rs.all,
sgr(72) +'72 ?????' + rs.all,
sgr(73) +'73 ?????' + rs.all,
sgr(74) +'74 ?????' + rs.all,
sgr(75) +'75 ?????' + rs.all,
def __init__(self):
super().__init__()
self.renderfuncs[Sgr] = renderfunc.sgr
self.renderfuncs[EightbitBg] = renderfunc.eightbit_bg
self.renderfuncs[RgbBg] = renderfunc.rgb_bg
self.set_eightbit_call(EightbitBg)
self.set_rgb_call(RgbBg)
# Classic terminal background color preset.
# These are well supported.
self.black = Style(Sgr(40))
self.red = Style(Sgr(41))
self.green = Style(Sgr(42))
self.yellow = Style(Sgr(43))
self.blue = Style(Sgr(44))
self.magenta = Style(Sgr(45))
self.cyan = Style(Sgr(46))
self.white = Style(Sgr(47))