[BUG] Ctrl-Z needlessly trapped.
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?
When I try to use Ctrl-Z to put Claude in the background, I get this superfluous message, ctrlz gets trapped, and I have to type it a second time for it to kick in. This has zero value to anybody. We all know how ctrl-z works. Please revert this change.
Claude Code has been suspended. Run `fg` to bring Claude Code back.
Note: ctrl + z now suspends Claude Code, ctrl + _ undoes input.
^Z
What Should Happen?
Claude should respect how Unix has worked for over 60 years now. There is no value or reason whatsoever to trap CtrlZ and put an interim, function-less intermediary.
Error Messages/Logs
Steps to Reproduce
Type Ctrl Z
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.0.75
Claude Code Version
2.0.76
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
Just because you CAN do something does not mean that you SHOULD do something.
Found 3 possible duplicate issues:
- https://github.com/anthropics/claude-code/issues/588
- https://github.com/anthropics/claude-code/issues/6807
- https://github.com/anthropics/claude-code/issues/14822
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