Driver getkey() can return TERMKEY_RES_NONE which attempts getkey_simple() afterwards

This commit is contained in:
Paul LeoNerd Evans
2008-11-09 19:45:43 +00:00
parent de74ffa67f
commit 09edf2377f
3 changed files with 33 additions and 6 deletions

View File

@@ -135,8 +135,7 @@ static termkey_result getkey(termkey_t *tk, void *info, termkey_key *key, int fo
}
}
// No special seq. Must be a simple key then
return (*tk->method.getkey_simple)(tk, key, force);
return TERMKEY_RES_NONE;
}
static struct {