summaryrefslogtreecommitdiff
path: root/test/snapshots/lookpanes.snap
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-11-05 00:08:16 -0300
committerGabriel Schneider <[email protected]>2026-11-05 00:32:56 -0300
commit2367ed34beccf3f2f1b8bbf6b8a171f50933d7a1 (patch)
tree8dcc7111d1e78806c6ac0e0bd1493c25d86bfc85 /test/snapshots/lookpanes.snap
parent43a4c24e607a456d7a23eb8a779bce5651f18222 (diff)
downloadpardes-2367ed34beccf3f2f1b8bbf6b8a171f50933d7a1.tar.gz
pardes-2367ed34beccf3f2f1b8bbf6b8a171f50933d7a1.zip
config, exec, look: Placement, BootShell, LookWord, DirLook and DiffLook go, with what each kept of pardes before it took acme's ways (exec's pardesPlace, atFoot, belowParent, pardesDoc and evictLonePristineTty with mouse.zig's call, layout's splitParent and columnFitsHalves that only they called, look's ls in a terminal for a directory, the word and patch looks' other branches, the SPC c p key, their Help and builtins-JSON rows, their lines in docs/typ and a changelog line), and the tests of them: Dir.zig's "DirLook terminal: a look at a directory opens a terminal there, no pane listing it", pardes.zig's "first document fallback splits like Term from the originating pane", "first document keeps its originating shell and only opens a column when it fits", "BootShell keep leaves the untouched boot shell a dragged document joins; replace closes it" and "a Look on a directory does not type ls into an occupied terminal", keys.zig's "keys: SPC j n and SPC j p walk on from the place a Look's +Search listing chose, its keyboard left in the file", look_and_exec.zig's "look-and-exec: a second LookWord list look in a directory refills its +Search rather than stacking another", placement.zig's "placement: Placement pardes puts a new pane right under the asking one, and bare it steps back to acme", output.zig's "LookNext/LookPrev keeps the result output a Look chose through a no-match answer, and a stale serial once it is deleted", and the snapshot scripts that turned them on (cmdword, doccol, look-dir, lookpanes, rsearch, splitparent, ttylook); the Del question's test makes its middle panes the acme way, a New at the column's foot, and the others that turned one on for their layout run without it
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_016Y9MNAtZenFv4weoMD3cge
Diffstat (limited to 'test/snapshots/lookpanes.snap')
-rw-r--r--test/snapshots/lookpanes.snap95
1 files changed, 0 insertions, 95 deletions
diff --git a/test/snapshots/lookpanes.snap b/test/snapshots/lookpanes.snap
deleted file mode 100644
index 2834a4a9..00000000
--- a/test/snapshots/lookpanes.snap
+++ /dev/null
@@ -1,95 +0,0 @@
-# a look resolves against EVERY open pane's directory, in access order: the
-# pane the click came from first, then the rest most-recently-focused first,
-# and only a word NO directory holds falls through to a search. Two dirs
-# (alpha, beta) hold same-named files and the shell's own cwd holds none of
-# them, so every look below would have been a search before.
-dirmk alpha
-dirmk beta
-file zzboot.txt x
-file alpha/amark.txt a
-file alpha/zqonly.txt ONLY-IN-ALPHA
-file alpha/pick.txt PICK-FROM-ALPHA
-file alpha/twin.txt TWIN-FROM-ALPHA
-file alpha/both.txt BOTH-FROM-ALPHA
-file beta/pick.txt PICK-FROM-BETA
-file beta/twin.txt TWIN-FROM-BETA
-file beta/both.txt BOTH-FROM-BETA
-# the file argument opens a pane whose directory is beta's, and nothing else —
-# so the workdir shell every look below falls through is opened with Alt-n
-# (`New`/`Newcol` open an empty +New scratch now, and one inheriting beta's
-# directory at that) and Alt-c puts it in a column of its own on the right;
-# its first line is a word to look FROM that pane
-file beta/bmark.txt both.txt\nb-marker
-# Builtins announce themselves by default, and an announcement is a band at
-# the top of the body -- which moves every row this script clicks. What the
-# verbs do is what is under test, not the announcement.
-config Verbose off
-# a directory looked at opens a terminal there (DirLook terminal), as this
-# script was written for; DirLook pane, the default, is dirpane.snap's
-config DirLook terminal
-start 51 130 beta/bmark.txt
-wait 8000 b-marker
-stable 700 20000
-key a-n
-key a-c
-wait 8000 zzboot.txt
-stable 700 20000
-key space w h
-stable 400 5000
-# an ordinary dir look on the shell's own ls output: a shell in ./alpha,
-# split below it
-press right 70 6
-release right 70 6
-wait 10000 amark.txt
-stable 700 20000
-# type the words to look into what is left of the workdir shell (past its own
-# ls output, on the same row: its last row is the resize handle)
-press left 95 5
-release left 95 5
-stable 400 5000
-key i
-text zqonly.txt pick.txt twin.txt
-key esc
-settle 100
-stable 400 5000
-snap shells
-# make the beta pane the most recently focused, so the walk has to pass it
-press left 10 5
-release left 10 5
-stable 700 10000
-# zqonly.txt is only under alpha: the clicked shell's cwd fails, beta fails,
-# the alpha shell answers. Before, this word became a search.
-press right 99 5
-release right 99 5
-wait 10000 ONLY-IN-ALPHA
-stable 700 20000
-snap other-dir
-# both.txt is in BOTH dirs and alpha is now the most recent (its file pane
-# just opened), but the CLICK still wins: looked inside the beta pane it
-# opens beta's copy
-press right 10 5
-release right 10 5
-wait 10000 BOTH-FROM-BETA
-stable 700 20000
-snap clicked-wins
-# from a pane whose own dir holds neither copy the access order decides:
-# focus the alpha shell, look pick.txt (in both dirs) -> alpha's
-press left 70 14
-release left 70 14
-stable 700 10000
-press right 109 5
-release right 109 5
-wait 10000 PICK-FROM-ALPHA
-stable 700 20000
-snap mru-alpha
-# focus the beta pane instead and the same look flips: twin.txt is in both
-# dirs, beta is most recent, beta's copy opens
-press left 10 5
-release left 10 5
-stable 700 10000
-press right 118 5
-release right 118 5
-wait 10000 TWIN-FROM-BETA
-stable 700 20000
-snap mru-beta
-snapstyle mru-beta