From dda9be9110732f824cfc191a3bc587886e787bb5 Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Sat, 23 Feb 2008 19:43:05 +0000 Subject: More termios settings on startup, to ensure reporting of signal, flow control, and NL/CR keys --- termkey.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'termkey.c') diff --git a/termkey.c b/termkey.c index d511b4a..411d958 100644 --- a/termkey.c +++ b/termkey.c @@ -112,8 +112,7 @@ termkey_t *termkey_new_full(int fd, int flags, size_t buffsize, int waittime) 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_ENTER, 0x0d, "Enter"); termkey_register_c0(tk, TERMKEY_SYM_ESCAPE, 0x1b, "Escape"); // G1 -- cgit v1.2.3-54-g00ecf