summaryrefslogtreecommitdiff
path: root/test/snapshots/doccol.golden
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-07-31 02:59:58 -0300
committerGabriel Schneider <[email protected]>2026-08-01 15:02:08 -0300
commitf2b8a25d0a25df778bce57efa4c2c7282c71893b (patch)
tree9f4c4ad3bddac13e4b32cb984ec390a7430c87e9 /test/snapshots/doccol.golden
parent7022d738dba00049e820e969cabc34ecbeaea465 (diff)
downloadpardes-f2b8a25d0a25df778bce57efa4c2c7282c71893b.tar.gz
pardes-f2b8a25d0a25df778bce57efa4c2c7282c71893b.zip
a new file splits the doc column you were last working in
placeDoc picked its source by SLOT INDEX — it scanned panes from 0 and took the first doc it found — so which column your file landed in depended on internal id allocation, not on where you had been. It now walks the jump stack backwards to the newest live doc pane. No new state: jumps already IS the record of where the keyboard has been, and Pane.serial is already the "this slot was reused" test. The slot-order scan stays as the fallback, deliberately: a restored dump has one jump entry, and if that pane is a shell the stack knows no doc — without the fallback the next file would claim a second column with docs already open. lookpanes moved: a file now lands under the doc that was actually last read rather than under whichever doc happened to hold the lowest pane id. New golden doccol pins the case the line exists for, and it fails at exactly one capture with the walk disabled.
Diffstat (limited to 'test/snapshots/doccol.golden')
-rw-r--r--test/snapshots/doccol.golden155
1 files changed, 155 insertions, 0 deletions
diff --git a/test/snapshots/doccol.golden b/test/snapshots/doccol.golden
new file mode 100644
index 00000000..a1508b9f
--- /dev/null
+++ b/test/snapshots/doccol.golden
@@ -0,0 +1,155 @@
+== snap boot grid=100x30 cursor=7,2
+|Kill Newcol Tutor Debug NextColor Dump Find Grep Help
+| NOR /tmp/pardes-snap/doccol/cwd/a.txt Save Del NOR /tmp/pardes-snap/doccol/cwd Del
+| 1 AAA
+| a.txt b.txt c.txt
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+== snap two-docs grid=100x30 cursor=7,17
+|Kill Newcol Tutor Debug NextColor Dump Find Grep Help
+| NOR /tmp/pardes-snap/doccol/cwd/a.txt Save Del NOR /tmp/pardes-snap/doccol/cwd Del
+| 1 AAA
+| a.txt b.txt c.txt
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+| NOR /tmp/pardes-snap/doccol/cwd/b.txt Save Del
+| 1 BBB
+| 2 B-TWO
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+== snap moved grid=100x30 cursor=57,20
+|Kill Newcol Tutor Debug NextColor Dump Find Grep Help
+| NOR /tmp/pardes-snap/doccol/cwd/a.txt Save Del NOR /tmp/pardes-snap/doccol/cwd Del
+| 1 AAA
+| a.txt b.txt c.txt
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+| NOR /tmp/pardes-snap/doccol/cwd/b.txt Save Del
+| 1 BBB
+| 2 B-TWO
+|
+|
+|
+|
+|
+|
+|
+|
+== snap worked grid=100x30 cursor=59,21
+|Kill Newcol Tutor Debug NextColor Dump Find Grep Help
+| NOR /tmp/pardes-snap/doccol/cwd/a.txt Save Del NOR /tmp/pardes-snap/doccol/cwd Del
+| 1 AAA
+| a.txt b.txt c.txt
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+| NOR /tmp/pardes-snap/doccol/cwd/b.txt Save Del
+| 1 BBB
+| 2 B-TWO
+|
+|
+|
+|
+|
+|
+|
+|
+== snap third grid=100x30 cursor=57,26
+|Kill Newcol Tutor Debug NextColor Dump Find Grep Help
+| NOR /tmp/pardes-snap/doccol/cwd/a.txt Save Del NOR /tmp/pardes-snap/doccol/cwd Del
+| 1 AAA
+| a.txt b.txt c.txt
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+|
+| NOR /tmp/pardes-snap/doccol/cwd/b.txt Save Del
+| 1 BBB
+| 2 B-TWO
+|
+|
+|
+| NOR /tmp/pardes-snap/doccol/cwd/c.txt Save Del
+| 1 CCC
+|
+|
+|