Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Commit

Permalink
The Ctrl-H byte (0x08) shouldn't automatically become SYM_BACKSPACE
Browse files Browse the repository at this point in the history
  • Loading branch information
leonerd committed Feb 3, 2015
1 parent 6497aed commit 619c0c1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions termkey.c
Original file line number Diff line number Diff line change
Expand Up @@ -316,10 +316,9 @@ static int termkey_init(TermKey *tk, const char *term)
if(termkey_register_keyname(tk, keynames[i].sym, keynames[i].name) == -1)
goto abort_free_keynames;

register_c0(tk, TERMKEY_SYM_BACKSPACE, 0x08, NULL);
register_c0(tk, TERMKEY_SYM_TAB, 0x09, NULL);
register_c0(tk, TERMKEY_SYM_ENTER, 0x0d, NULL);
register_c0(tk, TERMKEY_SYM_ESCAPE, 0x1b, NULL);
register_c0(tk, TERMKEY_SYM_TAB, 0x09, NULL);
register_c0(tk, TERMKEY_SYM_ENTER, 0x0d, NULL);
register_c0(tk, TERMKEY_SYM_ESCAPE, 0x1b, NULL);

struct TermKeyDriverNode *tail = NULL;

Expand Down

0 comments on commit 619c0c1

Please sign in to comment.