[BUG] terminal-setup fails to persist in Pycharm

Resolved 💬 3 comments Opened Dec 20, 2025 by GratefulDave Closed Dec 24, 2025

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 open iterm2 outside of pycharm, run claude, and enter /terminal-setup:

/terminal-setup
  ⎿  Installed iTerm2 Shift+Enter key binding
     See iTerm2 → Settings → Keys

Opening up a brand new terminal in PyCharm, running claude and using shift-enter results in an input instead of a new line.

Same issue with WezTerm.

What Should Happen?

Shift-enter should result in carriage return instead of an return.

Error Messages/Logs

None.

Steps to Reproduce

  1. Open iTerm2 outside of Pycharm.
  2. Run claude. Response:
/terminal-setup
  ⎿  Installed iTerm2 Shift+Enter key binding
     See iTerm2 → Settings → Keys
  1. Open brand new terminal in PyCharm.
  2. Type something and use shift-enter new new line.

Claude Model

Sonnet (default)

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.0.74 (Claude Code)

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

Terminal.app (macOS)

Additional Information

This has been the bane of my existence since claude code was launched.

View original on GitHub ↗

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