summaryrefslogtreecommitdiff
path: root/examples/async_printing.py
Commit message (Collapse)AuthorAgeFilesLines
* Added info on semantic versioning and branching strategy to CONTRIBUTING.mdTodd Leonhardt2020-04-241-1/+1
| | | | | | | Also: - Added isort to Pipenv dev - Added setup.cfg to make it easy to run flake8, doc8, and isort directly from the command line without using invoke - Ran isort to sort includes
* Updated changelog to address removal of ansi.FG_COLORS and ansi.BG_COLORS ↵Todd Leonhardt2020-02-071-8/+8
| | | | | | | and mention their replacement by ansi.fg and ansi.bg enums Also: - Use ansi.fg in async_printing.py and README.md
* Made example update the prompt less frequentlyKevin Van Brunt2019-08-011-4/+18
|
* Whitespace and doc fixesKevin Van Brunt2019-07-011-1/+1
|
* Improve background color display of prompt in async_printing.py exampleTodd Leonhardt2019-06-281-1/+1
|
* Simplified ansi color dictionaries and lookup methodsTodd Leonhardt2019-06-271-21/+5
| | | | | | | Also: - Updated examples that use color to use cmd2.ansi instead of colorama - Updated tests that use color to use cmd2.ansi instead of colorama - plumbum_colorspy example shows how to override color lookup functions to use a different color library
* Refactor exit_code implementationTodd Leonhardt2019-05-201-1/+2
| | | | | | | | | | | | cmd2.Cmd.cmdloop() now returns self.exit_code which should be an integer Also: - Refactored examples to call sys.exit(app.cmdloop()) in their __main__ - Running transcript tests now sets the exit_code accordingly based on success/failure - Updated CHANGELOG - Updated README - Updated Sphinx docs - Added unit test for case when transcript test fails
* Fixed issue when printing alerts caused by a prompt with a new line characterKevin Van Brunt2019-03-211-4/+4
|
* Fixed how shortcuts are set in examplesTodd Leonhardt2019-03-141-1/+0
|
* Fixed commentKevin Van Brunt2019-02-061-1/+1
|
* Added more examples and documentationKevin Van Brunt2018-09-251-2/+8
|
* Made async stuff publicKevin Van Brunt2018-09-251-8/+8
|
* Made demo more instructiveKevin Van Brunt2018-09-231-92/+103
|
* Added more alerts and updated documentationKevin Van Brunt2018-09-221-12/+39
|
* Recreating the thread in preloop to support multiple calls of cmdloopKevin Van Brunt2018-09-221-1/+3
|
* Updating prompt in example appKevin Van Brunt2018-09-211-7/+43
|
* First version of async printing exampleKevin Van Brunt2018-09-211-0/+121