From 8a2aed6c32c9a0e7ad0d0a84da58b7ce8d88296a Mon Sep 17 00:00:00 2001 From: infamy Date: Wed, 19 Mar 2014 22:19:51 -0700 Subject: [PATCH] Fixed bold issue Bold would get "stuck" on in powershell/cmd prompt. --- clint/textui/colored.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clint/textui/colored.py b/clint/textui/colored.py index 86753c6..2fd2323 100644 --- a/clint/textui/colored.py +++ b/clint/textui/colored.py @@ -65,7 +65,7 @@ class ColoredString(object): @property def color_str(self): style = 'BRIGHT' if self.bold else 'NORMAL' - c = '%s%s%s%s' % (getattr(colorama.Fore, self.color), getattr(colorama.Style, style), self.s, colorama.Fore.RESET) + c = '%s%s%s%s%s' % (getattr(colorama.Fore, self.color), getattr(colorama.Style, style), self.s, colorama.Fore.RESET, getattr(colorama.Style, 'NORMAL')) if self.always_color: return c