Closed thaJeztah closed 4 years ago
@cpuguy83 @dims @tklauser PTAL
LGTM !! thankfully it's mostly the same.
looks pretty good. Most are simple replacements, and any other code difference looks good as well.
Looks like this broke users at https://github.com/docker/for-win/issues/9770, because syscall.STD_INPUT_HANDLE = -10
while windows.STD_INPUT_HANDLE = -10 & (1 << 32 - 1)
Unfortunately I am unable to reproduce the issue linked to confirm what caused this.
The parts of github.com/Azure/go-ansiterm/winterm that were used is now provided by golang.org/x/sys/windows, so switch to that package, as it's more actively maintained.