You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmd2 2.5 supports Python 3.8+ (removed support for Python 3.6 and 3.7)
Bug Fixes
Fixed issue where persistent history file was not saved upon SIGHUP and SIGTERM signals.
Multiline commands are no longer fragmented in up-arrow history.
Fixed bug where async_alert() overwrites readline's incremental and non-incremental search prompts.
This fix introduces behavior where an updated prompt won't display after an aborted search
until a user presses Enter. See async_printing.py
example for how to handle this case using Cmd.need_prompt_refresh() and Cmd.async_refresh_prompt().
Enhancements
Removed dependency on attrs and replaced with dataclasses
add allow_clipboard initialization parameter and attribute to disable ability to
add output to the operating system clipboard
Updated unit tests to be Python 3.13 compliant.
Fall back to bz2 compression of history file when lzma is not installed.
Added settable called scripts_add_to_history which determines whether scripts and pyscripts
add commands to history.