[BUG] Claude Code v2.1.83 breaks my terminal on exit

Resolved 💬 7 comments Opened Mar 25, 2026 by nbros Closed Mar 26, 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?

After exiting Claude Code v2.1.83, Ctrl+C, Ctrl+D, Ctrl+L etc. don't work anymore!
Example:

────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
❯ 
────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
  Press Ctrl-D again to exit

Resume this session with:
claude --resume a1213c5a-8086-4d4d-8bd4-07b5bf06f947
~ %  00;5u00;5u00;5u00;5u08;5u

What Should Happen?

my terminal should keep working normally after exiting Claude Code

Error Messages/Logs

Steps to Reproduce

exit Claude Code v2.1.83

Claude Model

Opus

Is this a regression?

Yes, this worked in a previous version

Last Working Version

v2.1.81

Claude Code Version

v2.1.83

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Other

Additional Information

using Ghostty

View original on GitHub ↗

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