summaryrefslogtreecommitdiff
path: root/src/pardes.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-30 17:33:18 -0300
committerGabriel Schneider <[email protected]>2026-10-01 00:12:17 -0300
commit39149c051a79e7d5148522b9851768a8e5b2ab54 (patch)
treebb4f11b00a7e8714903ad3fbcda071af50eb81a2 /src/pardes.zig
parent41147087343144a439a77e6b9817f30d596a6fcb (diff)
downloadpardes-39149c051a79e7d5148522b9851768a8e5b2ab54.tar.gz
pardes-39149c051a79e7d5148522b9851768a8e5b2ab54.zip
A terminal's word looks refill the directory's one +Search, as +Lsp is shared, rather than stacking one per word
Each word looked for in a terminal (clicked, or written to look), where no file of that name was, opened another +Search in the same directory, one per word, until the column filled. Such a search now refills the directory's +Search, as the file searches and the +Lsp answers already share theirs. A `/` search keeps a +Search per pattern, which n and N walk across (psearch.snap), so the sharing is marked on the word look alone (Pardes.word_look). Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'src/pardes.zig')
-rw-r--r--src/pardes.zig3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/pardes.zig b/src/pardes.zig
index dc2ec59f..8c6ad5bb 100644
--- a/src/pardes.zig
+++ b/src/pardes.zig
@@ -4296,6 +4296,9 @@ pub const Pardes = struct {
/// (exec.placeNew): closed at the step's end, once whatever made them
/// is done with them.
unplaced: std.StaticBitSet(MAX_PANES) = .initEmpty(),
+ /// A look's word search is running (look.lookUnresolved): from a
+ /// terminal its rows refill the directory's one +Search (Output).
+ word_look: bool = false,
/// The running word came from the workspace's or a column's tag, which
/// have no directory of their own: it runs in the session's
/// (`sessionDir`), as acme's row and column tags do.