Skip to main content

legacy_shared

Function legacy_shared 

Source
pub fn legacy_shared(
    caps: ClientCapabilities,
    client_input: ClientInput,
) -> bool
Expand description

A client that predates client_input (no owner_reason_input) on a shared session. It knows only the owner rule, so the daemon presents the truth in those terms: it owns input (its attach snapshot says so, unless it observes) and never sees InputOwnerChanged. Otherwise it would announce “input is owned by …” on attach and “input taken over” whenever another client typed, while it can type all along. Matters most after a daemon reload onto a new build, when every open TUI is an older client.