summaryrefslogtreecommitdiff
path: root/src/pardes.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-10-25 10:46:46 -0300
committerGabriel Schneider <[email protected]>2026-10-25 11:58:11 -0300
commitb8646ef838e4f33f1f3adbf3c08c251afc39ae73 (patch)
tree09a044c9c9792d37706bfb510b4de369b4f7b150 /src/pardes.zig
parentbfdc8a9e61dd20c91b68f62187e724d1a98445a4 (diff)
downloadpardes-b8646ef838e4f33f1f3adbf3c08c251afc39ae73.tar.gz
pardes-b8646ef838e4f33f1f3adbf3c08c251afc39ae73.zip
query: B1 on a query pane is acme's B1: it places the caret and selects, nothing else (no other pane moves, nothing is previewed, the current row stays); only the keyboard moves the current row: Ctrl-n/Ctrl-p typing, n/N in the pane's normal mode (the caret with them, caretTo), j/k taking the caret onto a row (produce follows the caret on a key step only); Enter lands the current row; the current row's line mark is no selection B2/B3 borrow (exec.operandAt), so a click on it takes the word as on any row
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016u3hBPFfja5pK4EBRC1UVD
Diffstat (limited to 'src/pardes.zig')
-rw-r--r--src/pardes.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pardes.zig b/src/pardes.zig
index a35d1604..20415e69 100644
--- a/src/pardes.zig
+++ b/src/pardes.zig
@@ -6204,7 +6204,7 @@ pub const Pardes = struct {
// step the ones an edit or a scroll left unfound in the view.
for (p.panes) |slot| if (slot) |pane| pane.places.settle(p, pane, ev == .tick);
// Each live query pane's rows, made from what changed this step.
- panes.Query.produceAll(p, ev == .tick);
+ panes.Query.produceAll(p, ev == .tick, ev == .key);
_ = p.scratch.reset(.{ .retain_with_limit = memory.limits.scratch_kept });
p.sync();
p.fsReport();