a simple question: how do I enable deleting inside a python program?
I have a python program that asks for user input, users write some words and then press enter. The problem is they can't use backspace or supr to delete anything, instead, the program prints ^? each time they press backspace. Any ideas?
I use python 3.x and the readline libraries are working perfectly in the terminal program I use for running these scripts.