Open candera opened 11 months ago
This happens under macos, but not Linux.
/usr/bin/read
, bash and zsh read
don't handle \x7f (nor ^H). Yet, this works under macos Terminal app or iTerm, which both send \x7f by default. This also doesn't work in Emacs ansi-term
, so it's an issue inherited from term.el. Fish read always works.
I haven't been able to figure out what's happening yet.
As a workaround, under bash, read -e
works.
Ah, OK, -e works for the case I need.
Thanks again!
Use of
read
under mistty does not correctly handle backspace: