diff options
Diffstat (limited to 'core/Prompt.zig')
| -rw-r--r-- | core/Prompt.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/Prompt.zig b/core/Prompt.zig index ad2cfbed..0a288a79 100644 --- a/core/Prompt.zig +++ b/core/Prompt.zig @@ -811,7 +811,7 @@ pub fn execWord(p: *Pardes, id: usize) void { pub fn unlit(p: *const Pardes, pane: *Pane) ?[2]usize { if (Trail.outOfRest(p, pane)) return null; const t = &pane.trail; - const whole = pardes.tagline.folded(p, pane); + const whole = pardes.tagline.folded(p, pane).whole; for (t.steps[0..t.cur], 0..) |*step, i| if (step.* == .search) { if (lights(pane, &step.search) or t.isFolded(i, whole)) return null; return t.spanOf(i, whole); |
