i have a program, which uses a password inputation but when i made the password encrypted. when inputting my password which now appear as star(***) due to encryption. trying to delete a character but backspace is being read as a character. please can someone show me the way forward... thanks
getch returns a char (or two) for any key that is pressed, including non-printable and function keys. It does not, however, return the escape sequence that you are expecting. You could use something like: