diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-24 18:54:18 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-24 19:06:47 -0300 |
| commit | 7e7d9569a008124cb7ea01b6720a8d5963b0a42f (patch) | |
| tree | 6e0fd5ec5b6d22d002b1fe76113df63b5aba0f5b /core/root.zig | |
| parent | e9f3712ce17f9813ecb15dbf76d46778a49c747d (diff) | |
| download | pardes-7e7d9569a008124cb7ea01b6720a8d5963b0a42f.tar.gz pardes-7e7d9569a008124cb7ea01b6720a8d5963b0a42f.zip | |
walk (pick-ui SPEC §2, §6.1, §6.5, item 1 of the Walk UI line B): a pane is held or reading: Pane.trail (core/Trail.zig: a fixed walk, max_steps 16 of max_text 256 bytes, its steps a union of place, owner, list, search and recipe, `cur` held by walk.zig, in the digest and the dumps) and `held`, set by Keep (a new builtin, `SPC j k`) and by any edit of the file (File.edit, Trail.edited, twins too); a reading pane (a file not held: no output, listing, pager, query or kind) shows Keep after its path in its tag and its tag in the reading tint (a new theme role tag_reading_bg, derived from the page and the search ground, acme the spec's #f3f0cc), under the new setting `Jumps walk|new-pane`, whose default is new-pane until the walk's pickers are in, so every tag, frame and golden is as before (a walk default changes 74 of 102 process goldens and 21 behaviour tests by the Keep word alone); TEST FIRST: Trail.zig "a file's pane is reading ..." and "Keep holds a reading pane ..."; draw.zig's three-row tag test reads its band through tagGround; docs/typ/builtins-tui.json refreshed; core-test 993/1159 (166 skipped), pane-test 183/184, behaviour-test 277/277
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Diffstat (limited to 'core/root.zig')
| -rw-r--r-- | core/root.zig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/root.zig b/core/root.zig index 63b77964..696b08e1 100644 --- a/core/root.zig +++ b/core/root.zig @@ -114,6 +114,7 @@ pub const font_picker = platform == .gui or platform == .macos; pub var turn: Turn = .{}; pub const Turn = @import("Turn.zig"); pub const Jump = @import("Jump.zig"); +pub const Trail = @import("Trail.zig"); const Loc = Jump.Loc; pub const can_attach = platform == .tui or platform == .gui; @@ -403,6 +404,7 @@ test { _ = @import("Plumb.zig"); _ = @import("lsp/Ask.zig"); _ = @import("Jump.zig"); + _ = @import("Trail.zig"); _ = @import("keys.zig"); _ = @import("Effect.zig"); _ = @import("tape.zig"); |
