diff options
author | 2014-08-15 09:38:57 -0400 | |
---|---|---|
committer | 2014-08-15 09:38:57 -0400 | |
commit | 13f7c3886707db7905d77b7700fe8738b36c761c (patch) | |
tree | 43a56c596f31eff470815d7dcf016c659b811928 /src/textadept.c | |
parent | 32693aa9a37b59c48836d05bde7ef591a902ace4 (diff) | |
download | textadept-13f7c3886707db7905d77b7700fe8738b36c761c.tar.gz textadept-13f7c3886707db7905d77b7700fe8738b36c761c.zip |
Correctly recognize DEL when emitted by the Backspace key; src/textadept.c
Diffstat (limited to 'src/textadept.c')
-rw-r--r-- | src/textadept.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textadept.c b/src/textadept.c index b0c94b1e..cbe37689 100644 --- a/src/textadept.c +++ b/src/textadept.c @@ -2509,7 +2509,7 @@ int main(int argc, char **argv) { #else TermKeyResult res; TermKeyKey key; - int keysyms[] = {0,SCK_BACK,SCK_TAB,SCK_RETURN,SCK_ESCAPE,0,0,SCK_UP,SCK_DOWN,SCK_LEFT,SCK_RIGHT,0,0,SCK_INSERT,SCK_DELETE,0,SCK_PRIOR,SCK_NEXT,SCK_HOME,SCK_END}; + int keysyms[] = {0,SCK_BACK,SCK_TAB,SCK_RETURN,SCK_ESCAPE,0,SCK_BACK,SCK_UP,SCK_DOWN,SCK_LEFT,SCK_RIGHT,0,0,SCK_INSERT,SCK_DELETE,0,SCK_PRIOR,SCK_NEXT,SCK_HOME,SCK_END}; while ((res = textadept_waitkey(ta_tk, &key)) != TERMKEY_RES_EOF) { if (res == TERMKEY_RES_ERROR) continue; if (key.type == TERMKEY_TYPE_UNICODE) |