fix(cli): disable Ink's built-in exitOnCtrlC so our handler runs
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful

Ink's render() defaults to exitOnCtrlC:true, which terminates the
process before useInput ever fires. Pass exitOnCtrlC:false so the
double-press logic in TuiApp (clear → hint → exit) takes effect.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
This commit is contained in:
2026-03-16 08:51:26 -05:00
co-authored by Claude Sonnet 4.6
parent f0476cae92
commit 8f7e153f17
+1
View File
@@ -177,6 +177,7 @@ program
agentName: agentName ?? undefined,
projectId,
}),
{ exitOnCtrlC: false },
);
},
);