aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorPaul LeoNerd Evans <leonerd@leonerd.org.uk>2012-11-30 16:12:26 +0000
committerPaul LeoNerd Evans <leonerd@leonerd.org.uk>2012-11-30 16:12:26 +0000
commitc00f6cd3c63e01c84220b607eccf5a2ba2df8f63 (patch)
treeb7b183e4235f6bf88aaac1964a35ea8ea598ee86 /t
parentefc5b7e088fc219993f22dc827022b143913c1f8 (diff)
downloadtermo-c00f6cd3c63e01c84220b607eccf5a2ba2df8f63.tar.gz
termo-c00f6cd3c63e01c84220b607eccf5a2ba2df8f63.tar.xz
termo-c00f6cd3c63e01c84220b607eccf5a2ba2df8f63.zip
Only recognise DECCPR as a position report, so it is distinct from F3
Diffstat (limited to 't')
-rw-r--r--t/31position.c2
1 files changed, 1 insertions, 1 deletions
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");