claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[BUG] Ctrl+Z suspend stopped working in 2.1.0

Open mbinde opened this issue 10 months ago • 1 comments

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

  1. Launch Claude Code 2.1.0+
  2. Press Ctrl+Z
  3. 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

mbinde avatar Jan 10 '26 21:01 mbinde

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/16727
  2. https://github.com/anthropics/claude-code/issues/17045
  3. 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

github-actions[bot] avatar Jan 10 '26 21:01 github-actions[bot]

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

github-actions[bot] avatar Jan 14 '26 09:01 github-actions[bot]

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.

github-actions[bot] avatar Jan 21 '26 14:01 github-actions[bot]