diff options
| author | Gabriel Schneider <[email protected]> | 2026-11-25 02:39:31 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-11-25 03:06:39 -0300 |
| commit | 3845a3eb8dd009ac1f2d184e6d15439e27065b66 (patch) | |
| tree | 868d7bb1088b3ccbd21eda28b98bb87513c76fc0 /test/process/flags.zig | |
| parent | 5b065b537f15120184a6938d963d7302d0e4cc8d (diff) | |
| parent | 09729fc927bca5f05f99de7844069cae445598a1 (diff) | |
| download | pardes-3845a3eb8dd009ac1f2d184e6d15439e27065b66.tar.gz pardes-3845a3eb8dd009ac1f2d184e6d15439e27065b66.zip | |
walk UI M4: line E2's `:` merged (kwuzwsmo, on E's tip tuwqwmlm, which G2's tip wyplmmyp holds): TagState keeps G2's kinds {rest, help, describe, pick, rename, prompt}, `:` a prompt op whose arms (Prompt.key, head, takes, steps; TagState.point beside G2's pick arm) merged as E2 wrote them, and max_hits as many as the themes; THE STAND-IN GOES: Messages.zig's block from `---- a stand-in for line C's questions` to `---- the stand-in's end ----` and root.zig's allowed_vars `stub_asked` deleted, C's real Answer, waiting, waitingAnswers and answer kept, and Command.zig's test asks as C's own does (a file changed on disk under unsaved text), its @hasDecl branches gone; ONE THEME PREVIEW: `:theme ` goes through G2's colors.previewTheme as the themes picker does, its current row worn at each change of the rows and again after every step (Prompt.settle, as Pick.produceAll re-derives the picker's), off at rest (TagState.toRest, for a view that previewed the whole window), no pane dimmed while it does; DELETED: colors.wear, colors.wornChrome, TagState.worn (its replica index and isTheme), Pardes.worn_chrome (its `.derived` and kept_out entries), draw.render's wornChrome call; finishThemeInitialization keeps E2's change (the session's own theme's chrome, never a preview's: a load meanwhile); fs.zig: E2's Namespace.deinit hold (`@min(opens_len, opens.len)`) and its shell test dropped: H's `opens_len = 0` before the teardown in both load paths' errdefers (dump.zig) covers the same fault on the one path that meets it (a refused load; fuzz join seed 31554 pinned), and no other caller tears a namespace down with a count it did not hold; `:open ` IS D's FIND: the line `open ` (or `o `) hands itself to Find from this pane, as B2 on `Find <rest>` runs it (where jumps walk a Find picker in the tag, the rest of the line its query: every path, listed and scored off the loop by Names), so Command's own file rows (fileOf, firstOf, shownPath: the files the panes show) are deleted and the head's plain word for `open` is `Exec Find`; A MERGE FAULT FOUND BY A TEST FIRST: TagState.loaded (A2's) held every view's hits to the tree's leaves and the registry's words, so a view in `:theme ` on a row past bindings.flat.len + the kinds' words (the last theme, 272, is) came back from a dump at rest: a client joining a session with a view in `:theme ` would have that view at rest where the session had it in `:` (the digest's view state apart); `:`'s hits are held by Command.zig where it reads them (rowOf, theme, the preview: each bounds its index), so loaded skips the leaves' bound for a `:` view; TEST: Command.zig "a view in :theme on its last row keeps it through a dump and a load" (fails on the merge without it: the loaded view at rest); goldens: ttytaken (the conflict) regenerated and read: G2's with E2's one row (`|5: echo TAKEN''ONE`, as E2 read it); tagnav (no conflict, failed after the merge) regenerated and read: in raw tty mode the shell's prompt row 6 (`$ `) is no longer drawn at tty-on, nor taken away at column-tag: the case's `: :` in the terminal pane opens `:`'s band there, the band's rows come out of the terminal's body, its pty is resized smaller and back (the band class of item 4, A's band term), and the shell's redraw leaves that row blank (RUN: with `:`'s band held at 0 rows in a terminal pane, a temporary edit put back, tagnav matches G2's golden); a user meets it: `:` (any band) in a terminal pane resizes its pty while it is open; gates: core-test 1061/1231 (170 skipped), shell-test 1278/1281, pane-test 183/184, behaviour-test 277/277, process-test 1/146 (tagnav), then tagnav alone after its regeneration 0/1, term-test 17/17, kitty-test 45/45; the 40,000-seed fuzz meets item 2's fault (join seed 6356 here)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016Y9MNBFhdevVu48bvL9kCE
Diffstat (limited to 'test/process/flags.zig')
0 files changed, 0 insertions, 0 deletions
