fix(cli): disable Ink exitOnCtrlC so double-press handler runs #188

Merged
jason.woltje merged 1 commits from fix/tui-ctrl-c-exit into main 2026-03-16 13:55:19 +00:00

1 Commits

Author SHA1 Message Date
8f7e153f17 fix(cli): disable Ink's built-in exitOnCtrlC so our handler runs
All checks were successful
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 <noreply@anthropic.com>
2026-03-16 08:51:26 -05:00