aboutsummaryrefslogtreecommitdiff
path: root/driver-csi.c
diff options
context:
space:
mode:
authorPřemysl Janouch <p.janouch@gmail.com>2015-05-27 21:36:50 +0200
committerPřemysl Janouch <p.janouch@gmail.com>2015-05-27 21:36:50 +0200
commitc628a434f6c510ae37ffe18671b9dbd856f8cdd2 (patch)
tree67a27f494eda07078aa261bc16eb56771cc235e5 /driver-csi.c
parent3456e53a7d147268982cbf050314e40cd20bdb61 (diff)
downloadtermo-c628a434f6c510ae37ffe18671b9dbd856f8cdd2.tar.gz
termo-c628a434f6c510ae37ffe18671b9dbd856f8cdd2.tar.xz
termo-c628a434f6c510ae37ffe18671b9dbd856f8cdd2.zip
Fix the 31position test
Diffstat (limited to 'driver-csi.c')
-rw-r--r--driver-csi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver-csi.c b/driver-csi.c
index feedeb1..5701e19 100644
--- a/driver-csi.c
+++ b/driver-csi.c
@@ -378,7 +378,7 @@ handle_csi_R (termo_t *tk, termo_key_t *key, int cmd, long *arg, int args)
return TERMO_RES_NONE;
key->type = TERMO_TYPE_POSITION;
- termo_key_set_linecol (key, arg[1], arg[0]);
+ termo_key_set_linecol (key, arg[0] - 1, arg[1] - 1);
return TERMO_RES_KEY;
default: