Only recognise DECCPR as a position report, so it is distinct from F3

This commit is contained in:
Paul LeoNerd Evans
2012-11-30 16:12:26 +00:00
parent efc5b7e088
commit c00f6cd3c6
4 changed files with 13 additions and 20 deletions

View File

@@ -11,7 +11,7 @@ int main(int argc, char *argv[])
tk = termkey_new_abstract("vt100", 0);
termkey_push_bytes(tk, "\e[15;7R", 7);
termkey_push_bytes(tk, "\e[?15;7R", 8);
is_int(termkey_getkey(tk, &key), TERMKEY_RES_KEY, "getkey yields RES_KEY for position report");