[Feature Request] Add interrupt hook for CLI termination events

Resolved 💬 3 comments Opened May 13, 2026 by gnachman Closed May 17, 2026

Bug Description
Add a hook for when CC is interrupted (e.g., by the user pressing Esc). I'm integrating CC with iTerm2 (which I maintain) and this gap is very painful.

Environment Info

  • Platform: darwin
  • Terminal: iTerm.app
  • Version: 2.1.140
  • Feedback ID: 38b6008d-7ce9-4af8-9279-6bcf325e0761

View original on GitHub ↗

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