diff options
| author | Gabriel Schneider <[email protected]> | 2026-09-29 11:18:33 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-10-01 00:12:16 -0300 |
| commit | 23ff1aa588c5dfcb194543c949ebd87cbb12e725 (patch) | |
| tree | 559edacde2bce8000c0d89bcc220cdaf47680684 /src/Output.zig | |
| parent | ab4bdfb9cbe2ee32889ad7b675dab1f5bfeae707 (diff) | |
| download | pardes-23ff1aa588c5dfcb194543c949ebd87cbb12e725.tar.gz pardes-23ff1aa588c5dfcb194543c949ebd87cbb12e725.zip | |
A repeated identical search reads back the +Search it left as it was
When a Find or Grep found exactly what its +Search already held, the pane was kept but not marked as the one the search touched, so the exec read back the pane it ran in.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/Output.zig')
| -rw-r--r-- | src/Output.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Output.zig b/src/Output.zig index 495dbc43..99246b4a 100644 --- a/src/Output.zig +++ b/src/Output.zig @@ -448,6 +448,7 @@ pub fn fillResults(p: *Pardes, id: usize, dir: []const u8, from: Origin, arg: [] if (!locations.sameInput(content, rf.content, rf.location_rows, p.locations_config.layout)) continue; try setArg(output, arg); p.gpa.free(content); + p.fs.refilled = rp.serial; p.active = id; if (traits(from).steps) { pane.search_pane = i; |
