summaryrefslogtreecommitdiff
path: root/src/mouse.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/mouse.zig')
-rw-r--r--src/mouse.zig6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mouse.zig b/src/mouse.zig
index cb218a36..02e3b6a5 100644
--- a/src/mouse.zig
+++ b/src/mouse.zig
@@ -1044,14 +1044,14 @@ pub fn reportRange(
} else if (chord_arg != null) flag |= ctlfs.events.flag_chorded;
// Taken whether or not this process's server has the reader: the
// session's said it has (a replica's has none).
- _ = ctlfs.events.noteAction(p, id, action, range.q0, range.q1, flag, text);
+ ctlfs.events.noteAction(p, id, action, range.q0, range.q1, flag, text);
// A chorded exec's argument follows as two records, its text and where
// it came from (`file:#q0,#q1`, empty when that is not known), as acme
// sends them (exec.c:182-188); the pane keeps it for the write-back.
if (chord_arg) |a| {
- ctlfs.events.noteFollow(p, id, action, a);
+ ctlfs.events.noteAction(p, id, action, 0, 0, 0, a);
var where: [512]u8 = undefined;
- ctlfs.events.noteFollow(p, id, action, exec.heldSelectionPlace(p, id, &where) orelse "");
+ ctlfs.events.noteAction(p, id, action, 0, 0, 0, exec.heldSelectionPlace(p, id, &where) orelse "");
const pf = &scripted.fs;
if (pf.chord_arg) |old| p.gpa.free(old);
pf.chord_arg = p.gpa.dupe(u8, a) catch null;