manifoldco/promptui

Delete key cause prompt to fail

jzyinq opened this issue · 3 comments

When I try to edit a default value in prompt using delete key I get:

Prompt failed ^D

Backspace works fine.

Generally, even without a default value, the delete key causes the prompt input to fail.

same error. please fix it

Having the same issue here. I'm working on a fix in a downstream fork and have implemented the delete key functionality, but I'm still returning an io.EOF/EOFError from readline. Any developer insight would be greatly appreciated.

Having the same issue on macOS/iTerm.