EraseBinding#

class EraseBinding#

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.

Fields#

class EraseBinding
ASCII_BACKSPACE#

Send an ASCII backspace character (0x08).

ASCII_DELETE#

Send an ASCII delete character (0x7F).

AUTO#

For backspace, attempt to determine the right value from the terminal’s IO settings. For delete, use the control sequence.

DELETE_SEQUENCE#

Send the “@``7``" control sequence.

TTY#

Send terminal’s “erase” setting.