summaryrefslogtreecommitdiff
path: root/src/mouse.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/mouse.zig')
-rw-r--r--src/mouse.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mouse.zig b/src/mouse.zig
index c1ea598d..4e0439fa 100644
--- a/src/mouse.zig
+++ b/src/mouse.zig
@@ -1091,7 +1091,7 @@ fn gestureRange(p: *Pardes, id: usize, text: []const u8, on_tag: bool, operand:
.{ .row = @intCast(@max(0, w.row)), .col = @intCast(@max(0, w.lo)) }
else if (operand.expanded orelse operand.preview) |sel| lead: {
// A selection's start in reading order, converted the way
- // `pointerOperand` converts the click itself.
+ // `operandAt` converts the click itself.
const lead = edit.sweepEnds(sel)[0];
const top = lead[0] - @as(i32, pane.tag_rows);
if (top < 0) break :lead null;