From c00f6cd3c63e01c84220b607eccf5a2ba2df8f63 Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Fri, 30 Nov 2012 16:12:26 +0000 Subject: Only recognise DECCPR as a position report, so it is distinct from F3 --- t/31position.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't') diff --git a/t/31position.c b/t/31position.c index 3304643..1748211 100644 --- a/t/31position.c +++ b/t/31position.c @@ -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"); -- cgit v1.2.3-70-g09d2