summaryrefslogtreecommitdiff
path: root/src/exec.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/exec.zig')
-rw-r--r--src/exec.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/exec.zig b/src/exec.zig
index 5f5a2206..4ab5a37f 100644
--- a/src/exec.zig
+++ b/src/exec.zig
@@ -958,7 +958,7 @@ pub fn runBuiltin(p: *Pardes, b: Builtin, id: usize, txt: []const u8, arg: ?[]co
/// `runBuiltin` saying whether a gesture on the pane's body made it.
pub fn runBuiltinFrom(p: *Pardes, b: Builtin, id: usize, txt: []const u8, arg: ?[]const u8, from_body: bool) void {
- if (!normal.multiOnce(p)) return; // a builtin is per-keystroke, never per-cursor
+ if (!normal.multiOnce(p.editor())) return; // a builtin is per-keystroke, never per-cursor
// A window's own word in a terminal's view (Fonts, Lift): said, as a
// word a build lacks is, and never run.
if (!builtins.registry.here(p, b)) {