summaryrefslogtreecommitdiff
path: root/src/image.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-07-06 15:07:28 -0300
committerGabriel Schneider <[email protected]>2026-08-01 15:02:07 -0300
commit5552ecb3460a8c91d12e0469ba12debe688cc6f8 (patch)
tree100a0c96a0db2f552ad5e356042b9e1a19780d72 /src/image.zig
parentde4def3548a6729b0dfd2120495a61beef8c8c2c (diff)
downloadpardes-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 'src/image.zig')
0 files changed, 0 insertions, 0 deletions