diff options
| author | blasty <blasty@local> | 2026-07-10 15:05:34 +0200 |
|---|---|---|
| committer | blasty <blasty@local> | 2026-07-10 15:05:34 +0200 |
| commit | 39e4cb487e3540b45dba7fa912e60c1da9c1499b (patch) | |
| tree | 182d1cc16a2bf30a9d3ba21165888b1b86087f78 /server | |
| parent | tests: retire the monolithic test_tui.py (superseded by test_scenarios) (diff) | |
| download | ida-tui-39e4cb487e3540b45dba7fa912e60c1da9c1499b.tar.gz ida-tui-39e4cb487e3540b45dba7fa912e60c1da9c1499b.tar.xz ida-tui-39e4cb487e3540b45dba7fa912e60c1da9c1499b.zip | |
sync: extract shared settle/wait helpers (idatui/_sync.py)
Factor the pilot suite's ad-hoc 'poll until the UI reacted' loop into one
reusable module so the upcoming RPC driver and the tests share a single
source of truth for quiescence. wait_for() takes the yield strategy
(pilot.pause vs asyncio.sleep); drain()/workers_idle()/settle() give the
live driver a 'block until quiescent, then until pred holds' primitive
built on Textual's own _wait_for_screen + the worker manager.
Ctx.wait now delegates to wait_for; suite unchanged (101 green).
Diffstat (limited to 'server')
0 files changed, 0 insertions, 0 deletions
