<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ida-tui.git/idatui/_sync.py, branch main</title>
<subtitle>tui for headless ida</subtitle>
<id>https://git.sl0p.foo/ida-tui.git/atom/idatui/_sync.py?h=main</id>
<link rel='self' href='https://git.sl0p.foo/ida-tui.git/atom/idatui/_sync.py?h=main'/>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/ida-tui.git/'/>
<updated>2026-07-10T13:05:34Z</updated>
<entry>
<title>sync: extract shared settle/wait helpers (idatui/_sync.py)</title>
<updated>2026-07-10T13:05:34Z</updated>
<author>
<name>blasty</name>
<email>blasty@local</email>
</author>
<published>2026-07-10T13:05:34Z</published>
<link rel='alternate' type='text/html' href='https://git.sl0p.foo/ida-tui.git/commit/?id=39e4cb487e3540b45dba7fa912e60c1da9c1499b'/>
<id>urn:sha1:39e4cb487e3540b45dba7fa912e60c1da9c1499b</id>
<content type='text'>
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).
</content>
</entry>
</feed>
