diff options
author | gbrandl <devnull@localhost> | 2007-05-03 18:23:03 +0200 |
---|---|---|
committer | gbrandl <devnull@localhost> | 2007-05-03 18:23:03 +0200 |
commit | e130dbff2eb591c7cdca4a0bef90b63502cd3d4e (patch) | |
tree | fcb7f3140464f1be96ff5a119c154b3ace677df4 /pygments/formatters/terminal.py | |
parent | 2af8e713b4d89c8961c419db4818f11d43030643 (diff) | |
download | pygments-e130dbff2eb591c7cdca4a0bef90b63502cd3d4e.tar.gz |
[svn] Add whitespace filter. Add a few more filter unit tests.
Diffstat (limited to 'pygments/formatters/terminal.py')
-rw-r--r-- | pygments/formatters/terminal.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pygments/formatters/terminal.py b/pygments/formatters/terminal.py index cad37c7d..adac90df 100644 --- a/pygments/formatters/terminal.py +++ b/pygments/formatters/terminal.py @@ -11,7 +11,7 @@ from pygments.formatter import Formatter from pygments.token import Keyword, Name, Comment, String, Error, \ - Number, Operator, Generic, Token + Number, Operator, Generic, Token, Whitespace from pygments.console import ansiformat @@ -23,6 +23,7 @@ __all__ = ['TerminalFormatter'] TERMINAL_COLORS = { Token: ('', ''), + Whitespace: ('lightgray', 'darkgray'), Comment: ('lightgray', 'darkgray'), Keyword: ('darkblue', 'blue'), Keyword.Type: ('teal', 'turquoise'), |