pub fn pane_ended(
broker: Option<&Broker>,
connection: &str,
error: Option<&str>,
settle: bool,
) -> ConnStatusExpand description
A pane’s process on connection ended. A status is shared by every pane on
the connection, and the overlay covers each of them, so while another pane
still has it open nothing changes. The last one leaves it error with
error when it could not connect or lost the connection. Otherwise it is
disconnected if settle; else it is left for the shared connection’s
watcher (remote::link), since that connection can outlive its last pane.