Closed
Description
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.
The I/O operation has been aborted because of either a thread exit or an application request.
Setup
Please complete the following information along with version numbers, if applicable.
- OS Windows
- Shell pwsh
- Terminal Emulator Windows Terminal Preview
- Terminal Multiplexer none
To Reproduce
Steps to reproduce the behavior:
go run github.com/antonmedv/walk@v1.11.0
- Edit a file
- Quit the subprocess
- See error
Source Code
This is related to inputreader_windows.go
and key_windows.go
.
Expected behavior
Shouldn't give an error and Bubble Tea should cancel the IO gracefully
Screenshots
Metadata
Assignees
Labels
No labels
Activity