=== modified file 'driver-csi.c' --- driver-csi.c 2012-04-25 17:34:47 +0000 +++ driver-csi.c 2012-04-24 16:42:01 +0000 @@ -199,7 +199,7 @@ return TERMKEY_RES_NONE; key->type = TERMKEY_TYPE_POSITION; - termkey_key_set_linecol(key, arg[1], arg[0]); + termkey_key_set_linecol(key, arg[0], arg[1]); return TERMKEY_RES_KEY; } === modified file 't/31position.c' --- t/31position.c 2012-04-25 17:34:47 +0000 +++ t/31position.c 2012-04-24 16:27:48 +0000 @@ -19,8 +19,8 @@ is_int(termkey_interpret_position(tk, &key, &line, &col), TERMKEY_RES_KEY, "interpret_position yields RES_KEY"); - is_int(line, 15, "line for position report"); - is_int(col, 7, "column for position report"); + is_int(line, 7, "line for position report"); + is_int(col, 15, "column for position report"); termkey_destroy(tk);