diff options
| author | Gabriel Schneider <[email protected]> | 2026-07-06 17:36:07 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-01 15:02:07 -0300 |
| commit | ffa636a284b3ccc9aa4f31dff7f148780d2cd00b (patch) | |
| tree | aba9014d031f4f2b63c55fd06167c1398f7085d9 /src/modal.zig | |
| parent | 65bffe2c7b7fcdbd82cc112315e64e1bca8dd150 (diff) | |
| download | pardes-ffa636a284b3ccc9aa4f31dff7f148780d2cd00b.tar.gz pardes-ffa636a284b3ccc9aa4f31dff7f148780d2cd00b.zip | |
tty look motion: n/N on a terminal pane (normal mode only) walk the pane's own output rows — paneCursorLines, prompt/echo rows already blanked by the OSC 133 marks — for the next/prev row whose leading file-ish word resolves through look.resolve (realpath-only, side-effect-free; only the chosen row gets the real look), msel-select it, scroll it into view, and look it via actOnSelection. The modal cursor is the position (no new Pane state), so the walk resumes wherever j/k left it; focus returns to the terminal after the look so n keeps stepping; no wrap; no hit = no-op. Insert mode still splices, tty mode still forwards to the pty. The file-pane search stepper stays separate (different row predicate: the searched file's path prefix vs general resolvability). New snap script ttylook.snap + golden; all 19 baseline goldens untouched and green (20/20).
Diffstat (limited to 'src/modal.zig')
0 files changed, 0 insertions, 0 deletions
