Commit e90291d
committed
fix(cli): pause stdin in selector cleanup to prevent process hang
After resume()ing stdin for raw-mode input, the stream stays in
flowing mode and keeps the Node.js event loop alive. Calling
input.pause() in cleanup() restores stdin to paused mode so the
process exits normally after the user confirms a model selection.1 parent 5070fdd commit e90291d
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
166 | 167 | | |
167 | 168 | | |
168 | 169 | | |
| |||
0 commit comments