Skip to content

4.4.5 (2026-12-02)

Latest

Choose a tag to compare

@tleonhardt tleonhardt released this 02 Dec 19:20
· 11 commits to main since this release

What's Changed

  • Bug Fixes
    • A secret pasted into read_secret() with a newline after it is now submitted by that newline, and the newline is no longer returned as part of the secret. The whole paste is taken as one secret. Newlines before and after it are dropped and those inside it are kept, so a secret of several lines can still be pasted.
    • read_input() and read_secret() now remove trailing newlines from what they return when reading from a terminal, as their documentation says. Before, a pasted newline could be left on the end if the prompt had no key binding of cmd2's for a paste.
    • run_script now reports an error when it is given a directory which reports a size of zero, as Windows does for some directories. Before, it took such a directory for an empty script, printed nothing and set last_result to True.
    • When ppaged() detects a legacy Windows console, it now strips ANSI style codes before sending text to the exte

New Contributors

Full Changelog: 4.4.4...4.4.5