Skip to content

panic: read coninput events: The I/O operation has been aborted because of either a thread exit or an application request. #160

@brian6932

Description

@brian6932

This seems to only happen when editor's invoked, no matter whether the editor's set to wait for the file to close (-w), or just immediately launch. It seems to mostly work as expected, other than not returning an end path, due to the panic, which boots you to home when a cd alias' used (same as when exiting with CTRL+C).

C:\test
❯ '' > foo

C:\test
❯ ls

        Directory: C:\test


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a---        2025-02-08   8:47 AM              0   foo

C:\test
❯ walk
C:\test
panic: read coninput events: The I/O operation has been aborted because of either a thread exit or an application request.

goroutine 1 [running]:
main.main()
        /Users/anton/dev/walk/main.go:169 +0x785

~
❯ $env:EDITOR
subl

~
❯ walk.exe --version
v1.11.0

~
❯ $_=Get-ItemProperty 'HKLM:/SOFTWARE/Microsoft/Windows NT/CurrentVersion';$_.CurrentMajorVersionNumber.ToString()+'.'+$_.CurrentMinorVersionNumber.ToString()+'.'+$_.CurrentBuild+'.'+$_.UBR
10.0.19044.5371

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions