Something went wrong. Try again.
This repository has no description
Something went wrong. Try again.
c api: expose POSIX TTY resize subscriptions master
C consumers cannot subscribe to the existing SIGWINCH dispatcher, leaving terminals without in-band resize notifications dependent on separate signal handling or polling. Expose callback registration and removal through the C API, with owned callback storage and documented threading and lifetime requirements. Reinstall SIGWINCH handling when a subscriber registers after the last handler was removed. Add a headless pseudo-terminal integration test covering delivery, removal, duplicate registrations, capacity, re-registration, and cleanup. Fixes: #365 Co-authored-by: Tim Culverhouse <tfc@ampcode.com>
Author Amp Co-author Tim Culverhouse Date (Sep 6, 2026, 11:41 AM UTC) Commit 44dbbb78 44dbbb7802801d11b22ce6eabe22f56550dc26c6 Parent 18bfc93d 18bfc93d055c2a351978ab9470b8f8cc9aab0b92