diff options
-rw-r--r-- | CHANGELOG.md | 3 | ||||
-rw-r--r-- | docs/api/utility_functions.rst | 8 |
2 files changed, 9 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 41e5e7bf..79b50d49 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,8 @@ * Enhancements * Enabled line buffering when redirecting output to a file * Added `align_left()`, `align_center()`, and `align_right()` to utils.py. All 3 of these functions support - ANSI escape sequences and characters with display widths greater than 1. + ANSI escape sequences and characters with display widths greater than 1. They wrap `align_text()` which + is also in utils.py. ## 0.9.21 (November 26, 2019) * Bug Fixes diff --git a/docs/api/utility_functions.rst b/docs/api/utility_functions.rst index 86fb656c..e083cafe 100644 --- a/docs/api/utility_functions.rst +++ b/docs/api/utility_functions.rst @@ -9,7 +9,13 @@ Utility Functions .. autofunction:: cmd2.decorators.categorize -.. autofunction:: cmd2.utils.center_text +.. autofunction:: cmd2.utils.align_text + +.. autofunction:: cmd2.utils.align_left + +.. autofunction:: cmd2.utils.align_center + +.. autofunction:: cmd2.utils.align_right .. autofunction:: cmd2.utils.strip_quotes |