We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e0fd176 commit 2f0d8adCopy full SHA for 2f0d8ad
crates/example-eventage-claw/src/channels/terminal.rs
@@ -35,7 +35,12 @@ pub async fn run_terminal_channel(
35
})
36
.await?;
37
38
- let Some(raw) = line else { break };
+ let Some(raw) = line else {
39
+ // stdin closed (headless/Docker) — block until killed so the HTTP
40
+ // channel keeps running.
41
+ std::future::pending::<()>().await;
42
+ break;
43
+ };
44
let trimmed = raw.trim().to_string();
45
if trimmed.is_empty() {
46
continue;
0 commit comments