fix(cli): disable Ink's built-in exitOnCtrlC so our handler runs
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 <noreply@anthropic.com>
This commit is contained in:
@@ -177,6 +177,7 @@ program
|
|||||||
agentName: agentName ?? undefined,
|
agentName: agentName ?? undefined,
|
||||||
projectId,
|
projectId,
|
||||||
}),
|
}),
|
||||||
|
{ exitOnCtrlC: false },
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user