diff options
| author | Gabriel Schneider <[email protected]> | 2026-07-31 02:59:58 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-01 15:02:08 -0300 |
| commit | f2b8a25d0a25df778bce57efa4c2c7282c71893b (patch) | |
| tree | 9f4c4ad3bddac13e4b32cb984ec390a7430c87e9 /src/tracy.zig | |
| parent | 7022d738dba00049e820e969cabc34ecbeaea465 (diff) | |
| download | pardes-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 'src/tracy.zig')
0 files changed, 0 insertions, 0 deletions
