for exaple,I am trying to develop a simple c progam in linux env. , which reads the user input lets say the users name. How can I enable backspace function while reading user input?
==>username?:Thomax_(the guy writes his name wrong)
==>username?:Thoma_ (he pushes backspace)
==>username?:Thomas_(he corrects the input)
This is just what I want...