JetBrains IDEs use JediTerm as their terminal emulator, which does not support the kitty keyboard protocol. This means Shift+Enter sends the same \r (carriage return) as plain Enter — TUI applications ...