Skip to content

Commit dcd79f3

Browse files
authored
Merge pull request #539 from python-cmd2/alert_printer
Alert printer
2 parents d63f567 + 151c67e commit dcd79f3

File tree

7 files changed

+534
-59
lines changed

7 files changed

+534
-59
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
for formatting help/description text
1111
* Aliases are now sorted alphabetically
1212
* The **set** command now tab-completes settable parameter names
13+
* Added ``async_alert``, ``async_update_prompt``, and ``set_window_title`` functions
14+
* These allow you to provide feedback to the user in an asychronous fashion, meaning alerts can
15+
display when the user is still entering text at the prompt. See [async_printing.py](https://github.com/python-cmd2/cmd2/blob/master/examples/async_printing.py)
16+
for an example.
1317
* Deletions
1418
* The ``preparse``, ``postparsing_precmd``, and ``postparsing_postcmd`` methods *deprecated* in the previous release
1519
have been deleted

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ Main Features
4040
- Trivial to provide built-in help for all commands
4141
- Built-in regression testing framework for your applications (transcript-based testing)
4242
- Transcripts for use with built-in regression can be automatically generated from `history -t`
43+
- Alerts that seamlessly print while user enters text at prompt
4344

4445
Python 2.7 support is EOL
4546
-------------------------

0 commit comments

Comments
 (0)