async fn wait_exit(
entry: &TerminalEntry,
deadline: Instant,
blind: Option<(&'_ Workspace, &'_ SessionSlot)>,
) -> Result<bool, String>Expand description
Wait for a command to finish: exact through the marks, the heuristic’s quiet prompt otherwise, and the shell’s own exit for either.