Skip to main content

never_interactive

Function never_interactive 

Source
pub fn never_interactive() -> bool
Expand description

The stdin probe for callers that build a spawn request from inside the daemon: fan-out workers and sub-agents. There is no terminal there, and an editor launched from a background process would block it forever with nobody to close the window.

Those callers always have a task in hand, so the probe is never actually consulted; passing this rather than a bare || false states the reason at each call site.