summaryrefslogtreecommitdiff
path: root/src/tracy.zig
diff options
context:
space:
mode:
authorGabriel Schneider <[email protected]>2026-07-06 21:08:40 -0300
committerGabriel Schneider <[email protected]>2026-08-01 15:02:07 -0300
commitf442004dcd8e91114765a918201ecabe99f69eeb (patch)
tree141d8991a753e82cb3d897c8a717230c2c82913e /src/tracy.zig
parent49f8c696ea208d2653521699d77d7e8f48cac183 (diff)
downloadpardes-f442004dcd8e91114765a918201ecabe99f69eeb.tar.gz
pardes-f442004dcd8e91114765a918201ecabe99f69eeb.zip
horizontal scroll for file panes (terminals wrap at pty width — nothing to scroll): pane.hscroll cuts content columns after the lineno gutter in bodyText (post edit-splice, so typed runs shift with the text), no scrollbar. Drivers: horizontal wheel (new wheel_left/right Mouse.Buttons, SGR 66/67 via vaxis on the tty, SDL wheel.x on the gui, ±4 cols, clamped at 0, right overscroll allowed) and keyboard movement — ensureCursorVisible grew the horizontal mirror of the scrolloff reconcile, so $ pulls the view right with 3 columns of margin and 0 reels it home; the wheel never moves the cursor. Shifted alongside: syntax recolor pass, modal cursor paint (hidden when off-view), vsel highlight, click->content-col mapping, cursorWordSel. Byte columns like the rest of the file-pane code. New hscroll.snap golden: wheel shift with fixed gutter, left clamp, $ margin follow, 0 home. 30/30.
Diffstat (limited to 'src/tracy.zig')
0 files changed, 0 insertions, 0 deletions