[BUG] Cannot type the letter 'n' in new hook command input

Resolved 💬 3 comments Opened Jan 17, 2026 by duci9y Closed Jan 21, 2026

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 you type 'n' into the new hook command input, it behaves like you hit Esc

What Should Happen?

I should be able to use commands with the letter n as hooks

Error Messages/Logs

Steps to Reproduce

claude > /hooks > <any hook type> > + Add new hook... > type 'bun'

The UI resets to "+ Add new hook..." as soon as you hit the letter 'n', as if you had hit Esc instead.

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.12 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗