Skip to content

Commit 79044ee

Browse files
committed
Updated change log
1 parent c4a2882 commit 79044ee

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
* `ansi.style()` `fg` argument can now either be of type `str` or `ansi.fg`
88
* `ansi.style()` `bg` argument can now either be of type `str` or `ansi.bg`
99
* This supports IDE auto-completion of color names
10+
* The enums also support
11+
* `f-strings` and `format()` calls (e.g. `"{}hello{}".format(fg.blue, fg.reset)`)
12+
* string concatenation (e.g. `fg.blue + "hello" + fg.reset`)
1013
* Breaking changes
1114
* Renamed `locals_in_py` attribute of `cmd2.Cmd` to `self_in_py`
1215
* The following public attributes of `cmd2.Cmd` are no longer settable at runtime by default:

0 commit comments

Comments
 (0)