[BUG] Plugin config window auto closes when `n` character is typed
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
When setting the value for a plugin's userConfig, typing the n character auto closes the configuration wizard and does not save the value, i.e. typing out the path /Users/nathan closes the wizard when the first n is typed.
Copy and pasting the full value (even if it contains the n character) seems to work fine.
What Should Happen?
The plugin configuration input should not close automatically when the n character is typed. The user should be able to complete their userConfig key input without having the wizard closed if the value they are inputting contains an n character.
Error Messages/Logs
Steps to Reproduce
- Install plugin with the
userConfigsetting property to allow for plugin configuration - run
/plugin - Navigate to the plugin you installed
- Select "Configure Options" to open the config wizard
- Type
nas the first character or at any point during value entry - Configuration wizard automatically closes
Claude Model
Opus
Is this a regression?
I don't know
Last Working Version
_No response_
Claude Code Version
2.1.101
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
iTerm2
Additional Information
For the userConfig property for plugins, the documentation is missing the type and title values. Installing the plugin without these values for a config item throws errors for the plugin. See documentation here: https://code.claude.com/docs/en/plugins-reference#user-configuration
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗