diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-08-02 14:42:54 -0400 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2017-08-02 14:42:54 -0400 |
commit | ff663539b69d12e2d8b31709570cde7c58926602 (patch) | |
tree | 7e239e7111810dd69b7cca81a0fec708ed5797c4 /docs/conf.py | |
parent | 9e74cfdc9e287196385113bce55af7bc51bf4473 (diff) | |
download | cmd2-git-ff663539b69d12e2d8b31709570cde7c58926602.tar.gz |
Added strip_ansi() function and visible_prompt propery
Transcript testing now strips ANSI escape codes from the current line and current prompt before comparing the start of the current line with the current prompt to see if it is a command.
This makes it easier to use transcript testing with applications that colorize the prompt.
Diffstat (limited to 'docs/conf.py')
0 files changed, 0 insertions, 0 deletions