[Bug] Terminal raw mode not restored on Ctrl-Z suspend in Ghostty

Resolved 💬 2 comments Opened Dec 20, 2025 by amykyta Closed Dec 20, 2025

Bug Description
when hitting ctrl z to put claude code into background in ghostty it fails to change the terminal from raw mode and stays in foreground. No commands respond to anything. The only thing to do is kill the claude process to get the shell back. Seems to have started with a recent update.

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.0.74
  • Feedback ID: 83f83502-de68-4c37-b5d9-62ad3fab49e4

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/home/.local/share/claude/versions/2.0.74 (expected in multi-process scenarios)\n    at XZR (/$bunfs/root/claude:2430:2165)\n    at bUA (/$bunfs/root/claude:2430:1885)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-20T04:36:30.248Z"}]

View original on GitHub ↗

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