promptui icon indicating copy to clipboard operation
promptui copied to clipboard

Delete key cause prompt to fail

Open jzyinq opened this issue 3 years ago • 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.

jzyinq avatar Apr 29 '21 07:04 jzyinq

same error. please fix it

zlietapki avatar Jul 01 '21 20:07 zlietapki

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.

VltraHeaven avatar Apr 13 '22 21:04 VltraHeaven

Having the same issue on macOS/iTerm.

synfinatic avatar Aug 16 '23 01:08 synfinatic