aboutsummaryrefslogtreecommitdiff
path: root/helix-term
diff options
context:
space:
mode:
Diffstat (limited to 'helix-term')
-rw-r--r--helix-term/src/editor.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/helix-term/src/editor.rs b/helix-term/src/editor.rs
index a348aa6e..70b5758e 100644
--- a/helix-term/src/editor.rs
+++ b/helix-term/src/editor.rs
@@ -289,10 +289,7 @@ impl Editor {
execute!(
stdout,
- cursor::MoveTo(
- pos.col as u16 + viewport.x,
- pos.row as u16 - view.first_line + viewport.y,
- )
+ cursor::MoveTo(pos.col as u16 + viewport.x, pos.row as u16 + viewport.y,)
);
}
None => (),