I need to figure out how to move the cursor left and right on the input for a 'r...

@pronounshe@lgbtqia.space

I need to figure out how to move the cursor left and right on the input for a 'read -p' command. Attempting to move the cursor left and right produces

^[[D^[[C

I hate that, and I'm tired of having to backspace over a whole string to fix a single spelling errors.