def color(self, code):
def func(content='<STR_LIT>'):<EOL><INDENT>return self._apply_color(u'<STR_LIT>' % code, content)<EOL><DEDENT>return func<EOL>
When color is given as a number, apply that color to the content
While this is designed to support 256 color terminals, Windows will approximate
this with 16 colors