Lines Matching refs:colour
35 colour: Text colour to use
37 def __init__(self, text, colour, newline=True, bright=True):
40 self.colour = colour
46 self.colour == other.colour and
50 return ("newline=%s, colour=%s, bright=%d, text='%s'" %
51 (self.newline, self.colour, self.bright, self.text))
133 def tprint(text='', newline=True, colour=None, limit_to_line=False, bright=True):
142 colour: Colour to use for the text
147 print_test_list.append(PrintLine(text, colour, newline, bright))
149 if colour:
151 text = col.build(colour, text, bright=bright)
192 if line.colour:
194 print(col.build(line.colour, line.text), end='')