mirror of
https://github.com/kennethreitz/clint.git
synced 2026-06-05 14:50:17 +00:00
add split support to coloredstring
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user