diff options
| author | blasty <blasty@local> | 2026-07-09 19:17:43 +0200 |
|---|---|---|
| committer | blasty <blasty@local> | 2026-07-09 19:17:43 +0200 |
| commit | 868f54fed8f3cb911bf4ac8f7f6c50259585c484 (patch) | |
| tree | e25e2c47d952824f733308283674cfa88a97b581 /tests | |
| parent | decompiler: line-number gutter (diff) | |
| download | ida-tui-868f54fed8f3cb911bf4ac8f7f6c50259585c484.tar.gz ida-tui-868f54fed8f3cb911bf4ac8f7f6c50259585c484.tar.xz ida-tui-868f54fed8f3cb911bf4ac8f7f6c50259585c484.zip | |
cap the function pane width so it doesn't dominate wide terminals
Was 42% (≈100 cols on a 240-wide term). Now 30% clamped to min 42 / max 44, and
columns tightened to 10/21/7 -> a stable ~41-43 cols that fits the content: 46%
on a 90-col term but only 18% at 240 (code area 194 vs ~140 before). Ctrl+B still
hides it. pilot suite 57/57.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_tui.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_tui.py b/tests/test_tui.py index 9a1c650..0419842 100644 --- a/tests/test_tui.py +++ b/tests/test_tui.py @@ -51,6 +51,9 @@ async def run(db): loaded = await wait_until(pilot, lambda: table.row_count > 0) check("function list populated", loaded, f"rows={table.row_count}") + left = app.query_one("#left") + check("function pane width is capped (doesn't eat the screen)", + left.size.width <= 44, f"width={left.size.width}") got_all = await wait_until( pilot, lambda: "functions" in str(status.render()) and "…" not in str(status.render()), |
