I have been looking everywhere to figure out how to delete the last character on my curses prompt with my backspace.
My backspace is returning ^? or the ASCII code 127, which I can catch properly, however, I can't find the command to delete the ^? + last char that was typed, and Ideally, I would like to delete all the back up to the beginning of the prompt with backspace
Any ideas are greatly appreciated.
 
     
     
    