diff options
| author | blasty <blasty@local> | 2026-07-23 22:12:29 +0200 |
|---|---|---|
| committer | blasty <blasty@local> | 2026-07-23 22:12:29 +0200 |
| commit | 1e0c3ebc1179dcc64da1a77c4eeff12917dd66ae (patch) | |
| tree | bae29c8f465a95791139c203a9d06e502d98011b /spawn.sh | |
| parent | fix: follow/double-click a label lands on the label, not the function entry (diff) | |
| download | ida-tui-1e0c3ebc1179dcc64da1a77c4eeff12917dd66ae.tar.gz ida-tui-1e0c3ebc1179dcc64da1a77c4eeff12917dd66ae.tar.xz ida-tui-1e0c3ebc1179dcc64da1a77c4eeff12917dd66ae.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
