From 35d946e510b7287ba5848a13a2d4f48b914d94d3 Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Sun, 10 Feb 2008 18:40:27 +0000 Subject: Also register 0x0d as another version of the ENTER key --- termkey.c | 1 + 1 file changed, 1 insertion(+) diff --git a/termkey.c b/termkey.c index 073ed8a..e1abe46 100644 --- a/termkey.c +++ b/termkey.c @@ -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 -- cgit v1.2.3-70-g09d2