Claude Code v0.2.40 ·
New Features
EntryKind: in v0.2.40,
ChangesSection of the release
Interactive Confirmation Prompts
- Added a new
ConfirmInput component that provides Y/n prompts for user confirmations - Supports customizable default choices and keyboard shortcuts (Y/n or y/N)
- Automatically submits on Enter key based on the default choice
Enhanced Shell Prompt Integration (OSC 133)
- Added support for OSC 133 terminal sequences for better shell integration
- New prompt markers automatically inserted to track command execution:
OSC 133;A - marks prompt startOSC 133;B - marks prompt endOSC 133;C - marks command startOSC 133;D - marks command end- Includes bracketed paste mode support (
OSC ?2026h/l) - Improves terminal experience with better command boundary detection
Improved Allowed Tools Management
- Redesigned the
/approved-tools interface with better visual feedback - Added confirmation dialogs when deleting allowed tools
- Shows "Press [key] again to exit" hints for better UX
- Improved escape key handling throughout the permission flows
See this entry in the whole of v0.2.40 →