summaryrefslogtreecommitdiff
path: root/test/snapshots/rsearch.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/rsearch.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/rsearch.snap')
-rw-r--r--test/snapshots/rsearch.snap99
1 files changed, 0 insertions, 99 deletions
diff --git a/test/snapshots/rsearch.snap b/test/snapshots/rsearch.snap
deleted file mode 100644
index 75d0212c..00000000
--- a/test/snapshots/rsearch.snap
+++ /dev/null
@@ -1,99 +0,0 @@
-# acme button-3 in a text file = search: right-click / right-select reuse the
-# `/` machinery. A click expands the file-ish word (config.isFileChar) and, when
-# it names no file, searches the buffer for it — hits into the +Search output
-# buffer, n/N walk them like `/`. A right-select searches the span verbatim.
-# A real path (sub/dep.txt:3) still resolves and OPENS — expansion keeps / . :
-# so paths are not broken; only the non-file case falls through to search.
-dirmk sub
-file sub/dep.txt d1\nd2\nDEPTARGET\nd4\nd5\nd6
-file code.txt run count_x now\nopen sub/dep.txt:3 here\ncount_x again\npick two words
-# 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
-# the +Search listing is what this walks: LookWord list (search, acme's look3,
-# is the default; ctl.zig tests it)
-config LookWord list
-start 31 210 -n 1
-wait 8000 code.txt
-stable 700 20000
-# open code.txt: type the name in a shell, right-click it (ordinary look)
-press left 5 9
-release left 5 9
-stable 400 5000
-key i
-text code.txt
-key esc
-settle 100
-stable 400 5000
-press right 6 9
-release right 6 9
-wait 10000 count_x
-stable 700 15000
-snap opened
-# code.txt opens under the shell's text, its line 1 on screen row 8.
-# right-CLICK the identifier `count_x` (line 1, the 'n' at col 15). It names no
-# file, so the click searches for it: the results list both lines containing it.
-press right 15 8
-release right 15 8
-# Locations stack the target under its line now: two rows, two waits.
-wait 10000 code.txt:1:5-11
-wait 10000 run count_x now
-stable 700 15000
-snap search
-# right-SELECT `pick two` (line 4, sweep cols 8..15): a multi-word span passes
-# through verbatim (the space is kept), unlike a click's single-word expansion.
-press right 8 11
-drag right 15 11
-release right 15 11
-wait 10000 code.txt:4:1-8
-wait 10000 pick two words
-stable 700 15000
-snap select
-# right-CLICK the path `sub/dep.txt:3` (line 2, col 18): isFileChar keeps / . :
-# so the click expands the whole token and it RESOLVES — a look, not a search —
-# opening dep.txt scrolled to line 3 (DEPTARGET). The "don't break paths" case.
-press right 18 9
-release right 18 9
-wait 10000 DEPTARGET
-stable 700 15000
-snap path-open
-# A click does not merely LIST the hits, it goes to one: this re-search of
-# `count_x` (line 1, col 15) also STEPS onto hit 1, so the cursor lands in the
-# match, not where the click was.
-press right 15 8
-release right 15 8
-stable 700 15000
-snap step1
-# ...and the same word clicked in its OTHER place (line 3, col 10) opens NO
-# second +Search: the list is already armed on this pattern, so the click is
-# `n`. Cursor moves to hit 2, line 3.
-press right 10 10
-release right 10 10
-stable 700 15000
-snap step2
-# past the last hit the ring wraps: back to hit 1, line 1.
-press right 10 10
-release right 10 10
-stable 700 15000
-snap step3
-# acme sized code.txt to its four lines, so line 4 is on its last row: a
-# pane's last row is text like any other, never a resize handle.
-# A LEFT sweep over `pick two` (line 4, cols 8..15) and then a right CLICK
-# INSIDE it: the click takes the whole selection — the search is for the
-# two-word span (`4:1-8`), which the file-ish word expansion could never
-# produce from the single word under the click.
-press left 8 11
-drag left 15 11
-release left 15 11
-stable 400 5000
-press right 11 11
-release right 11 11
-stable 700 15000
-snap selclick
-# ...and a right click OUTSIDE the selection is the ordinary word click again:
-# `words` (line 4, col 19), not the span left lying in the pane.
-press right 19 11
-release right 19 11
-stable 700 15000
-snap outside