Send an ASCII backspace character (0x08).
Send an ASCII delete character (0x7F).
For backspace, attempt to determine the right value from the terminal's IO settings. For delete, use the control sequence.
Send the "@
7" control sequence.
Send terminal's "erase" setting.
An enumerated type which can be used to indicate which string the terminal should send to an application when the user presses the Delete or Backspace keys.