summaryrefslogtreecommitdiffstats
path: root/experiments
diff options
context:
space:
mode:
authorblasty <peter@haxx.in>2026-07-24 16:07:36 +0200
committerblasty <peter@haxx.in>2026-07-24 16:07:36 +0200
commitf7ad87be32bcf32675346ae4687a89acd50c8a6e (patch)
tree4c9006cb6bb0bcbdcc6a13798aa0e1c04f060d32 /experiments
parentux: render the logo.ans ANSI-art splash in the loading overlay (diff)
downloadida-tui-f7ad87be32bcf32675346ae4687a89acd50c8a6e.tar.gz
ida-tui-f7ad87be32bcf32675346ae4687a89acd50c8a6e.tar.xz
ida-tui-f7ad87be32bcf32675346ae4687a89acd50c8a6e.zip
hex: freeze the cursor's screen position on scroll (not clamp-to-edge)
Replace the clamp-to-nearest-edge follow with a true screen-position freeze: watch_scroll_y now shifts the byte cursor by the exact scroll delta on a user scroll (wheel/scrollbar), so it points at a new byte but stays on the same screen row. Cursor-driven scrolls (_scroll_to_cursor via _apply_scroll) are marked with _internal_top and skipped, so key-nav/click don't double-move the cursor. All scroll sources funnel through the one watch point. Pilot `hex` scenario: put the cursor mid-viewport, scroll 30 rows, assert its screen row is unchanged (+ clicks still land on the exact byte). 10/10 pass.
Diffstat (limited to 'experiments')
0 files changed, 0 insertions, 0 deletions