Show More
@@ -245,7 +245,7 def _modesetup(ui): | |||||
245 | # Since "ansi" could result in terminal gibberish, we error on the |
|
245 | # Since "ansi" could result in terminal gibberish, we error on the | |
246 | # side of selecting "win32". However, if w32effects is not defined, |
|
246 | # side of selecting "win32". However, if w32effects is not defined, | |
247 | # we almost certainly don't support "win32", so don't even try. |
|
247 | # we almost certainly don't support "win32", so don't even try. | |
248 | # w32ffects is not populated when stdout is redirected, so checking |
|
248 | # w32effects is not populated when stdout is redirected, so checking | |
249 | # it first avoids win32 calls in a state known to error out. |
|
249 | # it first avoids win32 calls in a state known to error out. | |
250 | if ansienviron or not w32effects or win32.enablevtmode(): |
|
250 | if ansienviron or not w32effects or win32.enablevtmode(): | |
251 | realmode = 'ansi' |
|
251 | realmode = 'ansi' |
General Comments 0
You need to be logged in to leave comments.
Login now