diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-06-30 17:59:38 -0400 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-06-30 17:59:38 -0400 |
commit | 5074f2573b08f4f44ab3a41ac7a450c4844dcd3d (patch) | |
tree | 731897fe25f9fd3beaeb3e8541a16a8226558545 /examples/async_printing.py | |
parent | 6787a3d412a1fba8783dc393d8d4af124220f4b9 (diff) | |
download | cmd2-git-5074f2573b08f4f44ab3a41ac7a450c4844dcd3d.tar.gz |
Initial changes for encapsulation of colorama usage within ansi.py
Changes include:
- ansi.py is now the only cmd2 code which depends on colorama
- cmd2 tests no longer rely on colorama
- Added new functions to ansi.py:
- async_alert_str()
- set_title_str
- Added unit test for set_title_str
TODO:
- Refactor async_alert_str so cursor position is passed in and import from rl_utils is no longer required
- Add unit test(s) for async_alert_str
- Refactor FG_COLORS and BG_COLORS in ansi.py to not use constants from colorama
Diffstat (limited to 'examples/async_printing.py')
0 files changed, 0 insertions, 0 deletions