summaryrefslogtreecommitdiff
path: root/test/snapshots/leader.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-09-06 18:11:36 -0300
committerGabriel Schneider <[email protected]>2026-09-07 13:59:12 -0300
commit60367d8fe23f6af98ec28e3cf6c2094dfe332df0 (patch)
tree310fc734173cf771881f4691c71909135fadde97 /test/snapshots/leader.snap
parentfa82cac885cb4738fe36d1e49b4749b5a3e31a4a (diff)
downloadpardes-60367d8fe23f6af98ec28e3cf6c2094dfe332df0.tar.gz
pardes-60367d8fe23f6af98ec28e3cf6c2094dfe332df0.zip
Refactor panes and filesystem; replace FUSE with 9P
Consolidate pane, layout, memory and host code. Serve 9P by default over Unix sockets, with runtime mounts and optional TCP/QUIC transports. Remove FUSE and obsolete proof-of-concept examples. Fix highlighting and terminal-history performance, expand differential and stress-test infrastructure, sort navigation results while preserving the next occurrence, add syntax-colored Braille minimaps, remove SPC-k, and document 9P interaction as a repository skill.
Diffstat (limited to 'test/snapshots/leader.snap')
-rw-r--r--test/snapshots/leader.snap92
1 files changed, 23 insertions, 69 deletions
diff --git a/test/snapshots/leader.snap b/test/snapshots/leader.snap
index f6eae3ea..eb253b37 100644
--- a/test/snapshots/leader.snap
+++ b/test/snapshots/leader.snap
@@ -1,106 +1,60 @@
-# The SPC leader: every builtin also has a KEY PATH, and SPC walks it. While a
-# path is pending the active pane's tag shows it at its RIGHT edge (the `/`
-# input's rule — state you can see — right-aligned so it never collides with
-# the tail's builtins). `?` at any depth opens the Help builtin, listing what
-# the prefix typed so far can still reach, into a +Help OUTPUT BUFFER (a file
-# pane with no file behind it, like +Search). The paths, the Help lines and
-# the execute dispatch are all folded out of ONE enum at comptime — so
-# executing the WORD `Help` runs the same builtin the leader does.
file cmds.txt Help
start 40 100 cmds.txt
wait 8000 New Newcol
wait 8000 cmds.txt
stable 700 20000
-# SPC arms the leader: the indicator appears on the active pane's tag
+
key space
stable 400 5000
snap spc
-# ... and grows as the path is typed (`h` = the docs group)
key h
stable 400 5000
snap spc-h
-# Esc abandons the sequence: indicator gone, nothing ran, cursor untouched
key esc
settle 100
stable 400 5000
snap abandoned
-# an UNMAPPED key abandons too, rather than waiting: a typo must not leave the
-# next keystroke armed at a builtin that closes panes
-key space
-key q
+key space q
stable 400 5000
snap unmapped
-# executing the WORD `Help` (middle-click) runs the builtin — the enum IS the
-# lookup, so a name works anywhere text lives. Every builtin, with its keys.
-press middle 9 3
-release middle 9 3
-# New builtins can push most of the index below this short pane, so this waits
-# on a row ABOVE the growth: the clipboard builtins sort first (uppercase paths)
-# and only the whole-index listing shows them, which is exactly the fact under
-# test — the word `Help` opened the full registry, not a group.
+
+# Executing Help as text opens the full index, not a filtered group.
+press middle @Help 3
+release middle @Help 3
+wait 10000 pardes builtins, and how to run each:
wait 10000 ClipPasteBefore
-stable 700 15000
-snap help-word
-# `SPC h ?`: only the `h` group, rewritten into the SAME +Help buffer
-key space
-key h
-key ?
+key space h ?
wait 10000 under SPC h
stable 700 15000
snap help-group
-# `SPC h t`: the Tutor builtin, zero arguments. It runs from the +Help pane,
-# but that is an output pane and not a document — so the tutor lands under
-# cmds.txt, the real doc, with the listing left at the foot of the column.
-key space
-key h
-key t
+
+key space h t
wait 10000 PARDES TUTOR
stable 700 15000
snap tutor
-# `SPC d`: Del is pane-scoped — it closes the tutor, focus falls back
-key space
-key d
+key space d
stable 700 15000
snap deleted
-# `SPC ?` at the root lists everything again. Waits on an EARLY row: the full
-# listing outgrew this pane when the language group landed, and the panel
-# effects pushed `SPC c n` off the bottom too. The clipboard paths sort first
-# and appear only in the whole-index listing, so they stay a valid witness.
-key space
-key ?
+
+key space ?
+wait 10000 pardes builtins, and how to run each:
wait 10000 ClipPasteBefore
-stable 700 15000
-snap help-all
-# `SPC t ?`: the TTY toggle group, including the image-renderer and PDF
-# switches that became builtins instead of tag words. Native scene shaders are
-# capability-gated out of this build, so Crt/Ripple/Glitch are absent here.
-key space
-key t
-key ?
+
+# PDF commands depend on the build; these toggles do not.
+key space t ?
+wait 10000 under SPC t
+wait 10000 Ascii
+wait 10000 Palette
wait 10000 Petscii
-stable 700 15000
-snap help-toggles
-# `SPC w ?`: the window group, whose five builtins are the tail of the full
-# listing above and fall off the bottom of this pane there
-key space
-key w
-key ?
+wait 10000 Wrap
+key space w ?
wait 10000 Right
stable 700 15000
snap help-window
-# `SPC l ?`: the LANGUAGE group — every LSP command lives here rather than on
-# the bare `<space>` letters helix uses, so `d` stays Del and `k` stays Kill.
-# Each one keeps helix's own letter INSIDE the group (hover k, rename r, code
-# action a, symbols s/S, diagnostics d/D, select-refs h), plus the two
-# introspection builtins that are ours: i and w.
-key space
-key l
-key ?
+key space l ?
wait 10000 WsDiagnostics
stable 700 15000
snap help-language
-# Output buffers close through the same explicit Del builtin as every other
-# pane. Body-normal Esc is now Last and deliberately keeps +Help alive.
key space d
settle 100
stable 700 15000