From 06fd04011950efdbcb14eead47fe73ec4c2194d6 Mon Sep 17 00:00:00 2001 From: Paul LeoNerd Evans Date: Wed, 25 Apr 2012 18:34:47 +0100 Subject: Bugfix to POSITION reporting - swap line<=>col --- 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 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; } -- cgit v1.2.3