Fix transpose bug with ansi goto
The line/column were swapped. Strong types are great, but we still have to be careful at the lowest level before they take effect!
This commit is contained in:
parent
f8579ff53e
commit
8851fa9c42
|
@ -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' => {
|
||||
|
|
Loading…
Reference in New Issue