[BUG] Ctrl+Z suspend stopped working in 2.1.0
Description
Ctrl+Z no longer suspends Claude Code as of version 2.1.0. The process remains in the foreground instead of suspending.
Steps to Reproduce
- Launch Claude Code 2.1.0+
- Press Ctrl+Z
- Process remains in foreground (expected: suspend and return to shell)
Environment
- OS: macOS (Darwin 25.0.0)
- Terminal: iTerm2
- Claude Code version: 2.1.0, 2.1.1, 2.1.2, 2.1.3 (all affected)
- Last working version: 2.0.9
Additional Context
- Ctrl+Z works correctly in other applications (e.g., emacs) in the same terminal session
- Terminal stty settings are correct (
susp = ^Z) - This is a regression from the fix implemented for issue #588
Found 3 possible duplicate issues:
- https://github.com/anthropics/claude-code/issues/16727
- https://github.com/anthropics/claude-code/issues/17045
- https://github.com/anthropics/claude-code/issues/16895
This issue will be automatically closed as a duplicate in 3 days.
- If your issue is a duplicate, please close it and 👍 the existing issue instead
- To prevent auto-closure, add a comment or 👎 this comment
🤖 Generated with Claude Code
This issue has been automatically closed as a duplicate of #16727.
If this is incorrect, please re-open this issue or create a new one.
🤖 Generated with Claude Code
This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.