Skip to main content

await_prompt

Function await_prompt 

Source
async fn await_prompt(cx: &ToolCtx<'_>, id: &str) -> Result<()>
Expand description

Waits briefly for the terminal to show a shell prompt, and refuses if it doesn’t: something else is running in it.