windows: rewrite some code with golang.org/x/sys/windows #62
<!-- ccr-overview-v2 -->
Copilot review overview
🟢 Approval recommended
The API migration preserves behavior and correctly handles unsuccessful or unexpected wait results.
Review effort: Balanced
Findings: None
<details>
<summary><strong>What changed in this PR</strong></summary>
Replaces the custom Windows wait wrapper with golang.org/x/sys/windows.
Changes:
windows.WaitForSingleObject with explicit result validation.| File | Description |
| ---- | ----------- |
| windows/ansi_reader.go | Migrates waiting logic to x/sys/windows. |
</details>
---
💡 <a href="/moby/term/new/main?filename=.github/skills/code-review/SKILL.md" class="Link--inTextBlock" target="_blank" rel="noopener noreferrer">Add a code-review agent skill</a> or configure MCP servers for context-aware, tailored reviews. <a href="https://docs.github.com/copilot/how-tos/use-copilot-agents/request-a-code-review/use-code-review?tool=webui#mcp-servers-and-agent-skills" class="Link--inTextBlock" target="_blank" rel="noopener noreferrer">Learn more in the docs.</a>
Approved these changes.
vvoland
thaJeztah
No description provided by author.