aboutsummaryrefslogtreecommitdiff
path: root/driver-csi.c
diff options
context:
space:
mode:
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 0609e64..ddc2ac8 100644
--- a/driver-csi.c
+++ b/driver-csi.c
@@ -199,7 +199,7 @@ static TermKeyResult handle_csi_position(TermKey *tk, TermKeyKey *key, int cmd,
return TERMKEY_RES_NONE;
key->type = TERMKEY_TYPE_POSITION;
- termkey_key_set_linecol(key, arg[0], arg[1]);
+ termkey_key_set_linecol(key, arg[1], arg[0]);
return TERMKEY_RES_KEY;
}