diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-05-27 21:36:50 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-05-27 21:36:50 +0200 |
commit | c628a434f6c510ae37ffe18671b9dbd856f8cdd2 (patch) | |
tree | 67a27f494eda07078aa261bc16eb56771cc235e5 /tests/31position.c | |
parent | 3456e53a7d147268982cbf050314e40cd20bdb61 (diff) | |
download | termo-c628a434f6c510ae37ffe18671b9dbd856f8cdd2.tar.gz termo-c628a434f6c510ae37ffe18671b9dbd856f8cdd2.tar.xz termo-c628a434f6c510ae37ffe18671b9dbd856f8cdd2.zip |
Fix the 31position test
Diffstat (limited to 'tests/31position.c')
-rw-r--r-- | tests/31position.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/31position.c b/tests/31position.c index 7eb0eca..07ff09f 100644 --- a/tests/31position.c +++ b/tests/31position.c @@ -21,8 +21,8 @@ int main (int argc, char *argv[]) is_int (termo_interpret_position (tk, &key, &line, &col), TERMO_RES_KEY, "interpret_position yields RES_KEY"); - is_int (line, 15, "line for position report"); - is_int (col, 7, "column for position report"); + is_int (line, 14, "line for position report"); + is_int (col, 6, "column for position report"); // A plain CSI R is likely to be <F3> though. This is tricky :/ termo_push_bytes (tk, "\e[R", 3); |