aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorblasty <blasty@local>2026-07-09 16:32:09 +0200
committerblasty <blasty@local>2026-07-09 16:32:09 +0200
commita4788bcd6c8c99a2c49fc4dadac747a45c2f4859 (patch)
tree84c9c12d73635d17fa57e47c9a8f926af549ec42 /tests
parentfix stale top frame on jump-back; test the actual repaint (diff)
downloadida-tui-a4788bcd6c8c99a2c49fc4dadac747a45c2f4859.tar.gz
ida-tui-a4788bcd6c8c99a2c49fc4dadac747a45c2f4859.tar.xz
ida-tui-a4788bcd6c8c99a2c49fc4dadac747a45c2f4859.zip
robust scroll restore for both views (fix stale frame in real terminal)
Textual's ScrollView.watch_scroll_y only repaints when the rounded scroll changes, and an immediate scroll_to right after setting virtual_size clamps to 0 when the view's size isn't computed yet (e.g. just made visible). DecompView.show had no deferred fallback at all, so it could stick at the top until a cursor move. Add a shared ColumnCursor._apply_scroll: set the offset now AND re-apply it after the next refresh with refresh(layout=True), forcing a repaint at the restored offset. Used by DisasmView._on_primed and DecompView.show. pilot suite 53/53.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions