Console-menu

Latest version: v0.8.0

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.8.0

===================
- Partial fix for using letter selection for menu items (issue 73). Menu items
can now be selected using letters rather than numbers; however, the Enter key
is still required for input to be accepted.
- Added support for Python 3.10 and 3.11.
- Dropped support for Python 3.6.

0.7.1

===================
- Partial fix for ansiwrap import when using PyInstaller (issue 66). The issue
is caused by the ansiwrap library (ansiwrap issue 6). Until ansiwrap 6 is
properly fixed, the workaround is to use a conditional import and fall back
to textwrap if ansiwrap fails to import. The drawback to this workaround is
that ANSI colored text will no longer wrap properly when using PyInstaller.

0.7.0

===================
- Add feature to allow menu text to be dynamically updated (issue 25).
- Add feature to disable the automatic screen refresh when a menu item is
selected - add "clear_screen=False" argument during Menu instantiation
(issue 23).
- Allow colors in menu item names (issue 45).
- Menu items with text longer than the menu width will now wrap and indent
properly (issue 62)
- Migrate from Travis-CI to GitHub Actions.

0.6.0

===================
- Fix issue 28, allow console screen argument for SelectionMenu.
- Fix issue 22, allow custom exit text for main menu.
- Fix issue 19, failure to clear screen using Windows 10 SSH.
- Potentially Breaking Change: reverted screen.input() method to return the
simple string value, as it did in v0.4.0 and prior. Moved the InputResult
tuple for input validation to the PromptUtils class.
- Expanding documentation and converting to Google-style docstrings (WIP).
- Add flush() method to screen.

0.5.1

===================
- Remove unnecessary imports (10).

0.5.0

===================
- Add new input validation feature, contributed by DaBbleR23.
- Add feature to allow menu item removal.
- Add feature to allow user to cancel input.
- Remove external readline dependency.

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.