Example #1
0
def color_only(string, *colors):
  b = Builder(string)
  for color in colors:
    b.insert(0, color)
  b.insert(-1, Codes.RESET)
  return b.result()
Example #2
0
def color(string, *colors):
  b = Builder(string)
  for color in colors:
    b.insert(0, color)
  return b.result()