You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This gracefully handles windows.CancelIo errors.
Fixes: c8d6005 (fix: use CancelIoEx to cancel Windows conInputReader across threads (#1305))
Fixes: #1324
This gracefully handles windows.CancelIo errors.
Fixes: c8d6005 (fix: use CancelIoEx to cancel Windows conInputReader across threads (#1305))
Fixes: #1324
Related: antonmedv/walk#160 (comment)
Related: #1305
Describe the bug
When a program is using
tea.Exec
, Bubble Tea doesn't handle cancelIO errors while reading input events, giving the following error.Setup
Please complete the following information along with version numbers, if applicable.
To Reproduce
Steps to reproduce the behavior:
go run github.com/antonmedv/walk@v1.11.0
Source Code
This is related to
inputreader_windows.go
andkey_windows.go
.Expected behavior
Shouldn't give an error and Bubble Tea should cancel the IO gracefully
Screenshots
The text was updated successfully, but these errors were encountered: