Skip to content

fix(config): pause progress spinner during interactive editor spawn#9388

Merged
owlstronaut merged 1 commit into
release/v11from
backport/v11/9372
May 21, 2026
Merged

fix(config): pause progress spinner during interactive editor spawn#9388
owlstronaut merged 1 commit into
release/v11from
backport/v11/9372

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Backport of #9372 to release/v11.

…9372)

Fixes #9142, Fixes #9184

When \`npm config edit\` or \`npm edit\` opens an interactive editor,
the progress spinner keeps running and writes ANSI control codes into
the buffer, garbling the display. Neither command called
\`input.start()\` before opening the editor, though \`help.js\` and
\`open-url.js\` already handle this correctly. Wrapping both editor
spawns in \`input.start()\` lets the spinner step aside while the editor
has control of the terminal, and closes both issues at once.

Co-authored-by: Claude Sonnet 4.6 <[email protected]>
(cherry picked from commit c0fc549)
@owlstronaut owlstronaut merged commit cde03ba into release/v11 May 21, 2026
39 checks passed
@owlstronaut owlstronaut deleted the backport/v11/9372 branch May 21, 2026 16:30
@github-actions github-actions Bot mentioned this pull request May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants