summaryrefslogtreecommitdiff
path: root/test/snapshots/views.golden
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-06 03:20:04 -0300
committerGabriel Schneider <[email protected]>2026-11-06 04:13:33 -0300
commit4c2125ecf47588d33f9894c1fdf2833d0512f3b4 (patch)
treec76510fd390e20187554ea86a3fdabd2dfb65ca5 /test/snapshots/views.golden
parentd1d5d3cfb18841604bba2057eeb3598f729b4475 (diff)
downloadpardes-4c2125ecf47588d33f9894c1fdf2833d0512f3b4.tar.gz
pardes-4c2125ecf47588d33f9894c1fdf2833d0512f3b4.zip
client #2, one frontend a session: the daemon answers `other <name>` for an attach to a session attached already (as it did for one of the other kind), so a second `pardes --attach` or `pardes-gui --attach` on this machine is a replica client through the replica socket, the path a remote one takes; a session tells the daemon its clients (SO_PEERCRED on each replica socket, at every join and leave) and `--ps` lists `client <pid> <command>` under it; the tty's per-terminal Screens (Screen.create/drop/destroy, primary, its stub and Killed slot), the Poster and its `from` input, the Gui's window-fields swap (window_fields, GuiWindow, copyWindow, freshWindow, follow, route, openAnotherWindow, closeView, windowsOpen, closeOtherWindows, resumeWindows), drawOthers and every harness's extra terminals (snapshot.zig's `start ... views=N` and `view <k>`, e2e_harness's initView and drainOthers, PARDES_TEST_VIEWS in both frontends, the GUI feed's `view;<k>`, the monkey's --views) go; the pump draws the one view this process shows (views.shown), through drawOne when a client's input was the last; an Upgrade from a build that kept a second terminal of its own lets it go (its stub told it is detached) and closes its view; deleted: views.snap, views-term.snap and views-pan.snap with their goldens (the in-process second terminal they drove is gone; views.zig's unit tests keep the per-view cursor, layout, register, sizing, closing and panning behaviour, test/replicas.zig and the soak the views of clients); the two views.zig tests that drew through drawOthers draw through drawOne; daemon.py's second terminal is a client listed by --ps, typed into in both terminals, detached from inside and closed; its second window a client listed by --ps and closed; the reference and next-daemon.md say so; no golden changes; gates: core-test 956/956 both, behaviour-test 248/248 both, unit-test 1487/1488 tui and 1530/1531 gui, pane-test 171/172 both, snap all 102 ok, process-test 0 of 37 failed on both, hxdiff 19 and hxparity 6 mismatches (the base's names), hxgolf 0, replicas, addon-test, gui-golden and monkey-gui 0 of 1 failed, daemon.py main, --window-clients and --gui ok, soak local pass (differ, mispred, view_bad, lost 0)
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/snapshots/views.golden')
-rw-r--r--test/snapshots/views.golden123
1 files changed, 0 insertions, 123 deletions
diff --git a/test/snapshots/views.golden b/test/snapshots/views.golden
deleted file mode 100644
index 14120f39..00000000
--- a/test/snapshots/views.golden
+++ /dev/null
@@ -1,123 +0,0 @@
-== snap one grid=80x24 cursor=7,3
-| Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config Debug Exit
-| New Term Find Grep Joincol Delcol
-| /tmp/pardes-snap/views/cwd/v.txt Save Term Collapse Del
-| 1 line 1
-| 2 line 2
-| 3 line 3
-| 4 line 4
-| 5 line 5
-| 6 line 6
-| 7 line 7
-| 8 line 8
-| 9 line 9
-| 10 line 10
-| 11 line 11
-| 12 line 12
-| 13 line 13
-| 14 line 14
-| 15 line 15
-| 16 line 16
-| 17 line 17
-| 18 line 18
-| 19 line 19
-| 20 line 20
-| 21 line 21
-== snap two grid=80x24 cursor=7,3
-| Newcol Joincol Find Grep Help Changelog Tutor Dump Themes Config Debug Exit
-| New Term Find Grep Joincol Delcol
-| /tmp/pardes-snap/views/cwd/v.txt Save Term Collapse Del
-| 1 line 1
-| 2 line 2
-| 3 line 3
-| 4 line 4
-| 5 line 5
-| 6 line 6
-| 7 line 7
-| 8 line 8
-| 9 line 9
-| 10 line 10
-| 11 line 11
-| 12 line 12
-| 13 line 13
-| 14 line 14
-| 15 line 15
-| 16 line 16
-| 17 line 17
-| 18 line 18
-| 19 line 19
-| 20 line 20
-| 21 line 21
-== snap one-edit grid=80x24 cursor=15,3
-|2: */tmp/pardes-snap/views/cwd/v.txt Save Term Collapse Del
-|3: 1 EDIT-ONEline 1
-== snap two-sees grid=80x24 cursor=7,3
-|2: */tmp/pardes-snap/views/cwd/v.txt Save Term Collapse Del
-|3: 1 EDIT-ONEline 1
-== snap two-down grid=80x24 cursor=7,6
-|3: 22 line 22
-|4: 23 line 23
-|5: 24 line 24
-|6: 25 line 25
-|7: 26 line 26
-|8: 27 line 27
-|9: 28 line 28
-|10: 29 line 29
-|11: 30 line 30
-|12: 31 line 31
-|13: 32 line 32
-|14: 33 line 33
-|15: 34 line 34
-|16: 35 line 35
-|17: 36 line 36
-|18: 37 line 37
-|19: 38 line 38
-|20: 39 line 39
-|21: 40 line 40
-|22: 41 line 41
-|23: 42 line 42
-== snap one-top grid=80x24 cursor=15,3
-== snap two-put grid=80x24 cursor=21,7
-|7: 26 EDIT-ONEline 1
-|8: 27 line 26
-|9: 28 line 27
-|10: 29 line 28
-|11: 30 line 29
-|12: 31 line 30
-|13: 32 line 31
-|14: 33 line 32
-|15: 34 line 33
-|16: 35 line 34
-|17: 36 line 35
-|18: 37 line 36
-|19: 38 line 37
-|20: 39 line 38
-|21: 40 line 39
-|22: 41 line 40
-|23: 42 line 41
-== snap two-col grid=80x24 cursor=42,1
-|1: New Term Find Grep Joincol Delcol New Term Find Grep Joincol Delcol
-|2: */tmp/pardes-snap/views/cwd/v.txt Save
-|3: Term Collapse Del
-|4: 22 line 22
-|5: 23 line 23
-|6: 24 line 24
-|7: 25 line 25
-|8: 26 EDIT-ONEline 1
-|9: 27 line 26
-|10: 28 line 27
-|11: 29 line 28
-|12: 30 line 29
-|13: 31 line 30
-|14: 32 line 31
-|15: 33 line 32
-|16: 34 line 33
-|17: 35 line 34
-|18: 36 line 35
-|19: 37 line 36
-|20: 38 line 37
-|21: 39 line 38
-|22: 40 line 39
-|23: 41 line 40
-== snap one-col grid=80x24 cursor=21,3
-== snap one-after grid=80x24 cursor=13,4