diff options
Diffstat (limited to 'cmd2')
-rw-r--r-- | cmd2/ansi.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd2/ansi.py b/cmd2/ansi.py index f1b2def8..c875a9d1 100644 --- a/cmd2/ansi.py +++ b/cmd2/ansi.py @@ -183,7 +183,7 @@ def style(text: Any, *, fg: str = '', bg: str = '', bold: bool = False, underlin # Default styles for printing strings of various types. # These can be altered to suit an application's needs and only need to be a # function with the following structure: func(str) -> str -style_success = functools.partial(style, fg='green', bold=True) +style_success = functools.partial(style, fg='green') style_warning = functools.partial(style, fg='bright_yellow') style_error = functools.partial(style, fg='bright_red') |