From b13152f89b478466b860aecb2bada8d96f0e9e36 Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Wed, 8 Jul 2026 03:53:22 -0300 Subject: look focuses an already-loaded pane before any filesystem resolve: the looked word (and its cwd-join) is matched against loaded file/image pane paths first, honoring :NN recentering — so the fs-less web build can focus dump-loaded panes on look, and native dedup no longer needs the file on disk. New lookloaded.snap: look at a path after rm'ing it still focuses/recenters the loaded pane. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/snapshots/lookloaded.golden | 93 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 test/snapshots/lookloaded.golden (limited to 'test/snapshots/lookloaded.golden') diff --git a/test/snapshots/lookloaded.golden b/test/snapshots/lookloaded.golden new file mode 100644 index 00000000..af90b0ef --- /dev/null +++ b/test/snapshots/lookloaded.golden @@ -0,0 +1,93 @@ +== snap file-open grid=100x30 cursor=7,5 +|Kill Newcol Tutor Debug Colors NextColor Dump +| NOR /tmp/pardes-snap/lookloaded/cwd/big.txt Save NOR /tmp/pardes-snap/lookloaded/cwd Del +| 37 line 37 +| 38 line 38 big.txt +| 39 line 39 +| 40 line 40 +| 41 line 41 +|╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌ +| NOR /tmp/pardes-snap/lookloaded/cwd Del +| +| big.txt +| +| +| +| big.txt:40 big.txt:10 +| +| NOR /tmp/pardes-snap/lookloaded/cwd Del +| +| big.txt +| +| +| +| +| +| +| +| +| +| +| +== snap removed grid=100x30 cursor=4,10 +|Kill Newcol Tutor Debug Colors NextColor Dump +| NOR /tmp/pardes-snap/lookloaded/cwd/big.txt Save NOR /tmp/pardes-snap/lookloaded/cwd Del +| 37 line 37 +| 38 line 38 big.txt +| 39 line 39 +| 40 line 40 +| 41 line 41 +| 42 line 42 +| NOR /tmp/pardes-snap/lookloaded/cwd Del +| +| big.txt +| +| GONE +| +| big.txt:40 big.txt:10 +| +| NOR /tmp/pardes-snap/lookloaded/cwd Del +| +| big.txt +| +| +| +| +| +| +| +| +| +| +| +== snap look-noFS grid=100x30 cursor=7,5 +|Kill Newcol Tutor Debug Colors NextColor Dump +| NOR /tmp/pardes-snap/lookloaded/cwd/big.txt Save NOR /tmp/pardes-snap/lookloaded/cwd Del +| 7 line 7 +| 8 line 8 big.txt +| 9 line 9 +| 10 line 10 +| 11 line 11 +| 12 line 12 +| NOR /tmp/pardes-snap/lookloaded/cwd Del +| +| big.txt +| +| GONE +| +| big.txt:40 big.txt:10 +| +| NOR /tmp/pardes-snap/lookloaded/cwd Del +| +| big.txt +| +| +| +| +| +| +| +| +| +| +| -- cgit v1.3