v0.1.5 windows backend minor fix

This commit is contained in:
2026-08-01 09:10:17 -04:00
parent 228e8ac1ad
commit 3d9631d1db
+1 -1
View File
@@ -131,7 +131,7 @@ func (b *windowsBackend) Read(stopCh <-chan struct{}) ([]byte, error) {
if err != nil { if err != nil {
return nil, fmt.Errorf("WaitForSingleObject: %w", err) return nil, fmt.Errorf("WaitForSingleObject: %w", err)
} }
if ev == windows.WAIT_TIMEOUT { if ev == uint32(windows.WAIT_TIMEOUT) {
// Mirrors unix poll timeout: lets readLoop emit pending standalone ESC // Mirrors unix poll timeout: lets readLoop emit pending standalone ESC
return nil, nil return nil, nil
} }