Skip to content

0.9.21 (November 26, 2019)

Compare
Choose a tag to compare
@kmvanbrunt kmvanbrunt released this 26 Nov 17:55
· 1042 commits to master since this release
  • Bug Fixes
    • Fixed bug where pipe processes were not being stopped by Ctrl-C
    • Added exception handling to account for non-standard Python environments in which readline is not loaded dynamically from a shared library file
  • Enhancements
    • Added read_input() function that is used to read from stdin. Unlike the Python built-in input(), it also has an argument to disable tab completion while input is being entered.
    • Added capability to override the argument parser class used by cmd2 built-in commands. See override_parser.py example for more details.
    • Added end argument to pfeedback() to be consistent with the other print functions like poutput().
    • Added apply_style to pwarning().
  • Breaking changes
    • For consistency between all the print functions:
      • Made end and chop keyword-only arguments of ppaged()
      • end is always added to message in ppaged()