diff options
author | Anteru <bitbucket@ca.sh13.net> | 2018-12-16 16:37:33 +0000 |
---|---|---|
committer | Anteru <bitbucket@ca.sh13.net> | 2018-12-16 16:37:33 +0000 |
commit | 7b32e7ccb5ade830289b0c259df83eab191b0944 (patch) | |
tree | 8e1e2e23acf64bcf8d1f7827c56370f5c58f8e9c /pygments/console.py | |
parent | 59872dafd45ca9e25bd7b61afe31ca6d71aa5cd0 (diff) | |
parent | d564ab9227416838ffb0363a716fa86f20025a4d (diff) | |
download | pygments-7b32e7ccb5ade830289b0c259df83eab191b0944.tar.gz |
Merged in mortenlund/pygments-main (pull request #777)
Change ansi color names to more saying names
Approved-by: Morten E. Lund <melund@gmail.com>
Approved-by: jonathanslenders <jonathan@slenders.be>
Approved-by: Anteru <bitbucket@ca.sh13.net>
Diffstat (limited to 'pygments/console.py')
-rw-r--r-- | pygments/console.py | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/pygments/console.py b/pygments/console.py index 31b6839d..e61744ce 100644 --- a/pygments/console.py +++ b/pygments/console.py @@ -22,10 +22,10 @@ codes["underline"] = esc + "04m" codes["blink"] = esc + "05m" codes["overline"] = esc + "06m" -dark_colors = ["black", "darkred", "darkgreen", "brown", "darkblue", - "purple", "teal", "lightgray"] -light_colors = ["darkgray", "red", "green", "yellow", "blue", - "fuchsia", "turquoise", "white"] +dark_colors = ["black", "red", "green", "yellow", "blue", + "magenta", "cyan", "gray"] +light_colors = ["brightblack", "brightred", "brightgreen", "brightyellow", "brightblue", + "brightmagenta", "brightcyan", "white"] x = 30 for d, l in zip(dark_colors, light_colors): @@ -35,9 +35,6 @@ for d, l in zip(dark_colors, light_colors): del d, l, x -codes["darkteal"] = codes["turquoise"] -codes["darkyellow"] = codes["brown"] -codes["fuscia"] = codes["fuchsia"] codes["white"] = codes["bold"] |