| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
When npm config edit or npm edit opens an interactive editor, the progress spinner kept running and wrote ANSI control codes into the editor buffer, corrupting the display. Both commands now call input.start() before opening the editor, which pauses the display layer while the editor has control of the terminal. Closes npm#9142, Closes npm#9184. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
🎉 Backport to release/v11 created: #9388 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
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.