Show More
@@ -146,7 +146,15 b' NeutralColors = ColorScheme(' | |||
|
146 | 146 | 'normal' : Colors.Normal # color off (usu. Colors.Normal) |
|
147 | 147 | } ) |
|
148 | 148 | |
|
149 | ||
|
149 | # Hack: the 'neutral' colours are not very visible on a dark background on | |
|
150 | # Windows. Since Windows command prompts have a dark background by default, and | |
|
151 | # relatively few users are likely to alter that, we will use the 'Linux' colours, | |
|
152 | # designed for a dark background, as the default on Windows. Changing it here | |
|
153 | # avoids affecting the prompt colours rendered by prompt_toolkit, where the | |
|
154 | # neutral defaults do work OK. | |
|
155 | ||
|
156 | if os.name == 'nt': | |
|
157 | NeutralColors = LinuxColors.copy(name='Neutral') | |
|
150 | 158 | |
|
151 | 159 | LightBGColors = ColorScheme( |
|
152 | 160 | 'LightBG',{ |
General Comments 0
You need to be logged in to leave comments.
Login now