diff options
author | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-02-23 19:43:05 +0000 |
---|---|---|
committer | Paul LeoNerd Evans <leonerd@leonerd.org.uk> | 2008-02-23 19:43:05 +0000 |
commit | dda9be9110732f824cfc191a3bc587886e787bb5 (patch) | |
tree | 11184069f3df5decd8b6d220cae6c451dba1e00f /termkey.c | |
parent | 696d5258a5e785299aed9af34184e4f5150d8e99 (diff) | |
download | termo-dda9be9110732f824cfc191a3bc587886e787bb5.tar.gz termo-dda9be9110732f824cfc191a3bc587886e787bb5.tar.xz termo-dda9be9110732f824cfc191a3bc587886e787bb5.zip |
More termios settings on startup, to ensure reporting of signal, flow control, and NL/CR keys
Diffstat (limited to 'termkey.c')
-rw-r--r-- | termkey.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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 |