Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何更换字体颜色 #7

Closed
evansan opened this issue May 17, 2017 · 1 comment
Closed

如何更换字体颜色 #7

evansan opened this issue May 17, 2017 · 1 comment

Comments

@evansan
Copy link

evansan commented May 17, 2017

想把蓝色的翻译结果换成黄色

@ChestnutHeng
Copy link
Owner

Wudao-dict/wudao-dict/src/CommandDraw.py
27行,BLUE_PATTERN 换成 BROWN_PATTERN

还有以下可以选,或者自己加新的颜色。
RED_PATTERN = '\033[31m%s\033[0m'
GREEN_PATTERN = '\033[32m%s\033[0m'
BLUE_PATTERN = '\033[34m%s\033[0m'
PEP_PATTERN = '\033[36m%s\033[0m'
BROWN_PATTERN = '\033[33m%s\033[0m'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants