diff options
| author | blasty <peter@haxx.in> | 2026-07-24 16:07:51 +0200 |
|---|---|---|
| committer | blasty <peter@haxx.in> | 2026-07-24 16:07:51 +0200 |
| commit | 4198235faaf5e2ceda10e5a19e6df8f6687e6a33 (patch) | |
| tree | 44a9831fabde368330f92b910cd904f7f069d464 /tests/test_scenarios.py | |
| parent | hex: freeze the cursor's screen position on scroll (not clamp-to-edge) (diff) | |
| download | ida-tui-4198235faaf5e2ceda10e5a19e6df8f6687e6a33.tar.gz ida-tui-4198235faaf5e2ceda10e5a19e6df8f6687e6a33.tar.xz ida-tui-4198235faaf5e2ceda10e5a19e6df8f6687e6a33.zip | |
ux: omit the splash logo when the terminal is too small for it
The logo.ans art is 33 rows tall; on a short/narrow terminal the auto-height
loading box would overflow and clip both the art and the title/note/help
(center-aligned, so the useful text scrolls off top and bottom). LoadingScreen
now only mounts the logo when app.size fits it plus the chrome (height >= lines+9
and width >= 64); otherwise it falls back to the text-only overlay.
Verified across sizes: 90x44 -> shown, 90x30 -> omitted (too short), 50x44 ->
omitted (too narrow), 120x50 -> shown.
Diffstat (limited to 'tests/test_scenarios.py')
0 files changed, 0 insertions, 0 deletions
