diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index 3ef72bde8..320bfc94e 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -1350,6 +1350,7 @@ fn copy_selection_on_line(cx: &mut Context, direction: Direction) { range.head }; + // TODO: this should use visual offsets / pos_at_screen_coords let head_pos = coords_at_pos(text, head); let anchor_pos = coords_at_pos(text, range.anchor);