aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/ansi.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ansi.rs b/src/ansi.rs
index d951d0c2..b229061e 100644
--- a/src/ansi.rs
+++ b/src/ansi.rs
@@ -556,7 +556,7 @@ impl Parser {
'H' | 'f' => {
let y = arg_or_default!(args[0] as usize, 1);
let x = arg_or_default!(args[1] as usize, 1);
- handler.goto(Line(x - 1), Column(y - 1));
+ handler.goto(Line(y - 1), Column(x - 1));
},
'I' => handler.move_forward_tabs(arg_or_default!(args[0], 1)),
'J' => {