summaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2020-02-06 23:52:31 -0500
committerGitHub <noreply@github.com>2020-02-06 23:52:31 -0500
commit3f075900264fee32c356aac3d03b2568664ba684 (patch)
tree81a8935b7a2b8ea1c7ba429a3bde25db9c33deee /CHANGELOG.md
parent3c627af7c1e22bcd0cd0a49dee05fd6b626bccc5 (diff)
parent138c28d18cee56ae09416cc00d2d461e983d90e8 (diff)
downloadcmd2-git-3f075900264fee32c356aac3d03b2568664ba684.tar.gz
Merge pull request #876 from python-cmd2/color_autocomplete
Added convenience enums of fg and bg colors
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 77ba6b00..07225efc 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,10 @@
* Enhancements
* Changed the default help text to make `help -v` more discoverable
* Added `add_settable()` and `remove_settable()` convenience methods to update `self.settable` dictionary
+ * Added convenience `ansi.fg` and `ansi.bg` enums of foreground and background colors
+ * `ansi.style()` `fg` argument can now either be of type `str` or `ansi.fg`
+ * `ansi.style()` `bg` argument can now either be of type `str` or `ansi.bg`
+ * This supports IDE auto-completion of color names
* Breaking changes
* Renamed `locals_in_py` attribute of `cmd2.Cmd` to `self_in_py`
* The following public attributes of `cmd2.Cmd` are no longer settable at runtime by default: