diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-06-27 23:54:07 -0400 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2019-06-27 23:54:07 -0400 |
commit | f91ccf2bb28531f9d1dee551314cb091fa57df74 (patch) | |
tree | c4f2571eda21f4b2d636545f0f89a8835aa057fd /examples/table_display.py | |
parent | 00388938d2c02922660e63ae163373b25789fafa (diff) | |
download | cmd2-git-f91ccf2bb28531f9d1dee551314cb091fa57df74.tar.gz |
Simplified ansi color dictionaries and lookup methods
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
Diffstat (limited to 'examples/table_display.py')
-rwxr-xr-x | examples/table_display.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/table_display.py b/examples/table_display.py index dcde7a81..cedd2ca0 100755 --- a/examples/table_display.py +++ b/examples/table_display.py @@ -9,7 +9,8 @@ You can use the arrow keys (left, right, up, and down) to scroll around the tabl You can quit out of the pager by typing "q". You can also search for text within the pager using "/". WARNING: This example requires the tableformatter module: https://github.com/python-tableformatter/tableformatter -- pip install tableformatter +and either the colored or colorama module +- pip install tableformatter colorama """ from typing import Tuple |