Bugfix for unknown CSIfuncs

This commit is contained in:
Paul LeoNerd Evans 2008-02-10 20:30:09 +00:00
parent c36c12b53a
commit 14987e458c

View File

@ -105,7 +105,7 @@ termkey_t *termkey_new_full(int fd, int flags, size_t buffsize, int waittime)
tk->keynames[i] = NULL;
for(i = 0; i < tk->ncsifuncs; i++)
tk->csifuncs[i].sym = TERMKEY_SYM_NONE;
tk->csifuncs[i].sym = TERMKEY_SYM_UNKNOWN;
// Special built-in names
termkey_register_keyname(tk, TERMKEY_SYM_NONE, "NONE");