Update upstream source from tag 'upstream/0.0_git20201110.bea5bbe'
Update to upstream version '0.0~git20201110.bea5bbe'
with Debian dir a78c00d05cf2aa16baa15688945aaf81078dac46
Francisco Vilmar Cardoso Ruviaro
3 years ago
5 | 5 |
profile.out
|
6 | 6 |
# support running go modules in vendor mode for local development
|
7 | 7 |
vendor/
|
8 | |
|
9 | |
.pc
|
70 | 70 |
// go-ansiterm hasn't switch to x/sys/windows.
|
71 | 71 |
// TODO: switch back to x/sys/windows once go-ansiterm has switched
|
72 | 72 |
if emulateStdin {
|
73 | |
stdIn = windowsconsole.NewAnsiReader(windows.STD_INPUT_HANDLE)
|
|
73 |
h := uint32(windows.STD_INPUT_HANDLE)
|
|
74 |
stdIn = windowsconsole.NewAnsiReader(int(h))
|
74 | 75 |
} else {
|
75 | 76 |
stdIn = os.Stdin
|
76 | 77 |
}
|
77 | 78 |
|
78 | 79 |
if emulateStdout {
|
79 | |
stdOut = windowsconsole.NewAnsiWriter(windows.STD_OUTPUT_HANDLE)
|
|
80 |
h := uint32(windows.STD_OUTPUT_HANDLE)
|
|
81 |
stdOut = windowsconsole.NewAnsiWriter(int(h))
|
80 | 82 |
} else {
|
81 | 83 |
stdOut = os.Stdout
|
82 | 84 |
}
|
83 | 85 |
|
84 | 86 |
if emulateStderr {
|
85 | |
stdErr = windowsconsole.NewAnsiWriter(windows.STD_ERROR_HANDLE)
|
|
87 |
h := uint32(windows.STD_ERROR_HANDLE)
|
|
88 |
stdErr = windowsconsole.NewAnsiWriter(int(h))
|
86 | 89 |
} else {
|
87 | 90 |
stdErr = os.Stderr
|
88 | 91 |
}
|