diff --git a/clint/textui/colored.py b/clint/textui/colored.py index 7892ae5..f834f75 100644 --- a/clint/textui/colored.py +++ b/clint/textui/colored.py @@ -53,6 +53,9 @@ class ColoredString(object): def __mul__(self, other): return (self.color_str * other) + + def split(self, x=' '): + return self.color_str.split(x)