diff options
Diffstat (limited to 'driver-csi.c')
| -rw-r--r-- | driver-csi.c | 2 | 
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:  | 
