summaryrefslogtreecommitdiffstats
path: root/spawn.sh
diff options
context:
space:
mode:
authorblasty <peter@haxx.in>2026-07-23 22:12:29 +0200
committerblasty <peter@haxx.in>2026-07-23 22:12:29 +0200
commit896c7cc3d5298a65c62289254247dc6674c94d23 (patch)
treeaf65fd68821093ab5964ae64ad8a2fe1facf4f84 /spawn.sh
parentfix: follow/double-click a label lands on the label, not the function entry (diff)
downloadida-tui-896c7cc3d5298a65c62289254247dc6674c94d23.tar.gz
ida-tui-896c7cc3d5298a65c62289254247dc6674c94d23.tar.xz
ida-tui-896c7cc3d5298a65c62289254247dc6674c94d23.zip
listing: keep a few lines of context above a jump target
Jumping (goto/follow/xref/open) parked the target's first line on the very top row of the viewport, which is cramped. Now a fresh navigation scrolls so the target sits _JUMP_CONTEXT (4) lines down, leaving surrounding context above it; the cursor still lands on the target's first instruction. Only applies when the scroll is being derived (NavEntry.scroll_y == -1). Back/ forward restores carry their own saved scroll_y, so they still return to the exact previous viewport. Verified: jumps to sub_3720/sub_2060/main land the cursor on the entry with a 4-line margin above; scroll_restore/disasm_nav/follow_xrefs/mouse/search/ listing_view/continuous_view/func_banners 51/0.
Diffstat (limited to 'spawn.sh')
0 files changed, 0 insertions, 0 deletions