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

@@ -309,7 +309,7 @@ static termkey_result getkey(termkey_t *tk, void *info, termkey_key *key, int fo
return getkey_csi(tk, csi, 1, key, force);
}
else
return (*tk->method.getkey_simple)(tk, key, force);
return TERMKEY_RES_NONE;
}
static termkey_keysym register_csi_ss3(termkey_csi *csi, termkey_type type, termkey_keysym sym, unsigned char cmd, const char *name)