beginShutdown

open fun beginShutdown()(source)

Permanently prevents new Strata screen attachments before any terminal screen cleanup callback runs.

The render-thread flag is idempotent, retains no screen, and stays terminal even when later cleanup fails.

Throws

when called off the render thread.