From e23f9f63fee19bd43bf3fde36eb59392451ccad8 Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Mon, 20 Jan 2020 15:03:36 -0500 Subject: Updating unit tests and docs --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index e5ee988f..73aa5b23 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ * Enhancements * Flushing stderr when setting the window title and printing alerts for better responsiveness in cases where stderr is not unbuffered. + * Added function to truncate a single line to fit within a given display width. `cmd2.utils.truncate_line` + supports characters with display widths greater than 1 and ANSI style sequences. + * Added line truncation support to `cmd2.utils` text alignment functions. ## 0.9.23 (January 9, 2020) * Bug Fixes -- cgit v1.2.1