From c628a434f6c510ae37ffe18671b9dbd856f8cdd2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?P=C5=99emysl=20Janouch?=
Date: Wed, 27 May 2015 21:36:50 +0200
Subject: Fix the 31position test
---
driver-csi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'driver-csi.c')
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:
--
cgit v1.2.3