Claude Code Stops Losing Esc at Permission Prompts and Split Pastes on Slow Connections

Claude CodeView original changelog

Claude Code 2.1.328 fixes Esc often being lost at a permission prompt or question when typing straight after it. In terminals that send Alt as Esc plus a key, an unused Alt or Option key now declines there. It also fixes a paste or terminal reply being typed into the prompt when a slow connection split it in two.

Key Takeaways

  • Esc is reliable at permission prompts and questions.
  • Alt or Option declines a prompt in terminals that send Alt as Esc plus key.
  • Split pastes on slow links no longer leak into the prompt.
  • Cmd+letter no longer types into the prompt.
  • Konsole Shift+Enter works outside tmux and ssh.
  • Non-Latin layouts keep Alt shortcuts.

Esc at Prompts

Esc was often lost at a permission prompt or question when the user typed immediately afterward, so a decline did not register. That is fixed. In terminals that send Alt as Esc followed by a key, an unused Alt or Option key now declines the prompt.

Split Pastes

On a slow connection, a paste or a terminal's reply could be cut in two, with part typed into the prompt as text. Claude Code now handles this case.

Related Input Fixes

Cmd+letter no longer types into the prompt in terminals that report Cmd, and Shift+Enter works in Konsole outside tmux and ssh. Alt shortcuts also work on non-Latin layouts in terminals using the kitty keyboard protocol.

Claude Code Fixes Lost Esc and Split Pastes | Yet Another Changelog