2011-04-13 48 views
0

在我的Python外殼採用白色背景,它看起來是這樣的:Emacs的IPython的外殼錯誤消息前景色設置

white text on white background

正如你所看到的,當有一個錯誤,它是白色的文字在白色背景。爲了看到它們,我必須突出文字。我沒有找到任何面部控制這些顏色的運氣。任何人有任何想法?

感謝

回答

1

~\.ipython\ipythonrc有本節(約1/4來自頂部的距離)

# colors - Coloring option for prompts and traceback printouts. 

# Currently available schemes: NoColor, Linux, LightBG. 

# This option allows coloring the prompts and traceback printouts. This 
# requires a terminal which can properly handle color escape sequences. If you 
# are having problems with this, use the NoColor scheme (uses no color escapes 
# at all). 

# The Linux option works well in linux console type environments: dark 
# background with light fonts. 

# LightBG is similar to Linux but swaps dark/light colors to be more readable 
# in light background terminals. 

# keep uncommented only the one you want: 
colors Linux 
#colors LightBG 
#colors NoColor 
+0

哈,謝謝,那做了:) – sudo 2011-04-13 04:36:14

+0

@sudo歡迎您 – 2011-04-13 06:28:27