diff options
author | kotfu <kotfu@kotfu.net> | 2019-12-05 22:45:05 -0800 |
---|---|---|
committer | kotfu <kotfu@kotfu.net> | 2019-12-05 22:45:05 -0800 |
commit | 10b844809e3a9500274dc4af4e780708975ba905 (patch) | |
tree | 500638d447a3b2cc51937c80a21aa5c61031897b /cmd2/ansi.py | |
parent | 10da7317721cd091af9e235d33c81b8c6e93e450 (diff) | |
parent | 367f9f156d58f434a57345515306b6d14e9f4e80 (diff) | |
download | cmd2-git-10b844809e3a9500274dc4af4e780708975ba905.tar.gz |
Merge branch 'master' into generating_output_docs
# Conflicts:
# cmd2/ansi.py
Diffstat (limited to 'cmd2/ansi.py')
-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 db828af4..86161ac2 100644 --- a/cmd2/ansi.py +++ b/cmd2/ansi.py @@ -184,7 +184,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') """Partial function supplying arguments to style() to generate bold green text""" style_warning = functools.partial(style, fg='bright_yellow') |