summaryrefslogtreecommitdiff
path: root/src/fs.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-29 10:03:10 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:16 -0300
commitdf6106af80e13cc4f0121b7f2caf5315a4453a9d (patch)
treebeb1176f4b6cf13bb65732ccbf0d9f6e1049f605 /src/fs.zig
parentae71c2e2845be4a5595e7fae117c0ef22c16c0c0 (diff)
downloadpardes-df6106af80e13cc4f0121b7f2caf5315a4453a9d.tar.gz
pardes-df6106af80e13cc4f0121b7f2caf5315a4453a9d.zip
Find and Grep share one +Search a directory, each run replacing the last
Each Grep with a new pattern opened another +Search, until the column refused panes. Find and Grep now reuse their directory's one, as acme reuses +Errors, and the exec reads back the pane it filled; a plain word's LookWord list search keeps a pane a pattern as before. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/fs.zig')
-rw-r--r--src/fs.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fs.zig b/src/fs.zig
index de02e8e8..6feaa972 100644
--- a/src/fs.zig
+++ b/src/fs.zig
@@ -1316,6 +1316,9 @@ pub const Namespace = struct {
/// The serial of the pane the root's exec or look last ran a line at
/// (the keyboard's), 0 before one: its err record names that pane.
ran_at: u32 = 0,
+ /// The output pane a search just filled again rather than made
+ /// (Output.fillResults): what an exec reads back.
+ refilled: ?u32 = null,
/// Every failure said (Messages.reportFailure), counted: a builtin
/// that said one while it ran failed.
failures: u32 = 0,