diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-02-10 18:40:27 +0000 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-02-10 18:40:27 +0000 |
commit | 35d946e510b7287ba5848a13a2d4f48b914d94d3 (patch) | |
tree | f379abba05518eb1234f34c8fe82849de996872a | |
parent | f76b62a65a51f0b8f65a8e9cee513c0b80f060b6 (diff) | |
download | termo-35d946e510b7287ba5848a13a2d4f48b914d94d3.tar.gz termo-35d946e510b7287ba5848a13a2d4f48b914d94d3.tar.xz termo-35d946e510b7287ba5848a13a2d4f48b914d94d3.zip |
Also register 0x0d as another version of the ENTER key
-rw-r--r-- | termkey.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -100,6 +100,7 @@ termkey_t *termkey_new_full(int fd, int flags, size_t buffsize) termkey_register_c0(tk, TERMKEY_SYM_BACKSPACE, 0x08, "Backspace"); termkey_register_c0(tk, TERMKEY_SYM_TAB, 0x09, "Tab"); termkey_register_c0(tk, TERMKEY_SYM_ENTER, 0x0a, "Enter"); + termkey_register_c0(tk, TERMKEY_SYM_ENTER, 0x0d, NULL); termkey_register_c0(tk, TERMKEY_SYM_ESCAPE, 0x1b, "Escape"); // G1 |