From f67fec978a9296c651ec06bd2f43686d34ff86ee Mon Sep 17 00:00:00 2001 From: Gabriel Schneider Date: Fri, 14 Aug 2026 13:40:29 -0300 Subject: look: richer path/range parsing, pdf rendering, corner-drag and stepgrain snapshots --- test/snapshots/grep.snap | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'test/snapshots/grep.snap') diff --git a/test/snapshots/grep.snap b/test/snapshots/grep.snap index 1d3efc9e..ab708a25 100644 --- a/test/snapshots/grep.snap +++ b/test/snapshots/grep.snap @@ -6,7 +6,8 @@ # looking it SELECTS the hit — with the path RELATIVE to the directory # of the pane that asked — the same directory its results buffer is named in, # so the short name resolves; only a hit from outside that tree stays absolute. -# n/N SELECT the next/prev row like any other result list and open nothing; +# n/N SELECT the next/prev row like any other result list and open nothing — +# one press per row, the location at its head, never the matched text after it; # Enter looks what they leave selected, and a row pointing into a file nothing # has open yet opens it. dirmk sub @@ -62,10 +63,12 @@ wait 10000 TARGET inside sub stable 700 15000 snap opened-hit # a pattern nothing holds: an empty list of its own, with nothing in it for n -# to stop on — so the ring carries that step back into the TARGET list. The -# look above is why both of those read the way they do: it left the cursor in -# sub/b.txt, so the empty list is named in sub/ rather than cwd/, and it left -# the hit SELECTED there (a ranged result row is one a look selects). +# to stop on — so the ring carries that step out of it and on round. It lands +# in the SHELL, whose `ls` row is free text and steps word by word: the TARGET +# list is standing on its last row, and a row-grained walk has nothing left in +# it to offer. The look above is why these read the way they do: it left the +# cursor in sub/b.txt, so the empty list is named in sub/ rather than cwd/, and +# it left the hit SELECTED there (a ranged result row is one a look selects). # Armed from the LEADER, not the topbar word, because of that selection: a # topbar execute chords whatever is selected into its argument, so a # middle-click here would run `Grep TARGET` and never ask for a pattern at -- cgit v1.3