diff options
| author | Gabriel Schneider <[email protected]> | 2026-07-06 15:07:28 -0300 |
|---|---|---|
| committer | Gabriel Schneider <[email protected]> | 2026-08-01 15:02:07 -0300 |
| commit | 5552ecb3460a8c91d12e0469ba12debe688cc6f8 (patch) | |
| tree | 100a0c96a0db2f552ad5e356042b9e1a19780d72 /test/snapshot.zig | |
| parent | de4def3548a6729b0dfd2120495a61beef8c8c2c (diff) | |
| download | pardes-5552ecb3460a8c91d12e0469ba12debe688cc6f8.tar.gz pardes-5552ecb3460a8c91d12e0469ba12debe688cc6f8.zip | |
scrolloff: keyboard cursor moves keep 3 context rows above/below the cursor (vim scrolloff). One reconcile in Pane.ensureCursorVisible — every keyboard path (normal-mode motions, insert entry/edits, delete/yank/paste/undo/redo) already funnels through it; mouse click/wheel untouched. Clamps: line 0 at top, EOF-at-bottom-row for files (terminals let the vt clamp at the live bottom), margin shrinks on panes shorter than 2*off+1. New scrolloff.snap golden proves j-walk scroll at the margin, gg/top-row reachability, k-walk margin, G bottom clamp. 19/19 snapshots green; no existing goldens changed.
Diffstat (limited to 'test/snapshot.zig')
0 files changed, 0 insertions, 0 deletions
