websh-prompt icon indicating copy to clipboard operation
websh-prompt copied to clipboard

`Ctrl-D`でexitCodeが2になってしまう

Open sheepla opened this issue 2 years ago • 1 comments

正常終了するのが正しいはずなので直す。

sheepla avatar Mar 06 '22 00:03 sheepla

EOFのエラーハンドリングを直す必要がありそう。

https://pkg.go.dev/github.com/peterh/liner#section-readme

sheepla avatar Mar 06 '22 01:03 sheepla

errors.Is(err, io.EOF)

sheepla avatar Dec 28 '22 13:12 sheepla