v0.1.5 windows backend minor fix
This commit is contained in:
+1
-1
@@ -131,7 +131,7 @@ func (b *windowsBackend) Read(stopCh <-chan struct{}) ([]byte, error) {
|
||||
if err != nil {
|
||||
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
|
||||
return nil, nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user