Fix the 31position test

This commit is contained in:
2015-05-27 21:36:50 +02:00
parent 3456e53a7d
commit c628a434f6
2 changed files with 3 additions and 3 deletions

View File

@@ -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: