Bugfix to POSITION reporting - swap line<=>col

This commit is contained in:
Paul LeoNerd Evans
2012-04-25 18:34:47 +01:00
parent ca4d98b0f7
commit 06fd040119
2 changed files with 3 additions and 3 deletions

View File

@@ -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;
}