Commit 04c635b
committed
mingw: set $env:TERM=xterm-256color for newer OSes
For windows builds >= 15063 set $env:TERM to xterm-256color because they
have a more capable console system that supports this. Also set
$env:COLORTERM=truecolor if unset.
See #3629 regarding problems caused by always setting
$env:TERM=cygwin.
This is the same heuristic used by the Cygwin runtime.
Signed-off-by: Rafael Kitover <rkitover@gmail.com>1 parent 1c1ff4d commit 04c635b
1 file changed
Lines changed: 16 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3401 | 3401 | | |
3402 | 3402 | | |
3403 | 3403 | | |
3404 | | - | |
3405 | | - | |
3406 | | - | |
| 3404 | + | |
| 3405 | + | |
| 3406 | + | |
| 3407 | + | |
| 3408 | + | |
| 3409 | + | |
| 3410 | + | |
| 3411 | + | |
| 3412 | + | |
| 3413 | + | |
| 3414 | + | |
| 3415 | + | |
| 3416 | + | |
| 3417 | + | |
| 3418 | + | |
| 3419 | + | |
3407 | 3420 | | |
3408 | 3421 | | |
3409 | 3422 | | |
| |||
0 commit comments