[BUG] JediEmulator - Unhandled Control Sequence

Resolved 💬 9 comments Opened Oct 10, 2025 by westito Closed Jan 26, 2026

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 running in IntelliJ terminal, the IDE consumes 50-100% CPU and spams log full of:

2025-10-10 08:02:34,296 [ 311327]   WARN - com.jediterm.terminal.emulator.JediEmulator - Unhandled Control Sequence (parsed: ESC[?2026h, raw: ESC[?2026h)
2025-10-10 08:02:34,296 [ 311327]   WARN - com.jediterm.terminal.emulator.JediEmulator - Unhandled Control Sequence (parsed: ESC[?2026l, raw: ESC[?2026l)

messages.

As I figured out these are sync control sequances that helps prevent flickering. However this is not need for JediEmulator so it is skips/can't recognize. Becuase of bunch of logging, IDE consumes a lot of resources.

I know this problem not really related to Claude Code itself, but I think you guys will solve this problem way more faster than IntelliJ will be :D

What Should Happen?

Claude Code should filter these control sequences when TERMINAL_EMULATOR=JetBrains-JediTerm

Error Messages/Logs

2025-10-10 08:13:01,434 [ 938465]   WARN - com.jediterm.terminal.emulator.JediEmulator - Unhandled Control Sequence (parsed: ESC[?2026h, raw: ESC[?2026h)
2025-10-10 08:13:01,434 [ 938465]   WARN - com.jediterm.terminal.emulator.JediEmulator - Unhandled Control Sequence (parsed: ESC[?2026l, raw: ESC[?2026l)
2025-10-10 08:13:01,582 [ 938613]   WARN - com.jediterm.terminal.emulator.JediEmulator - Unhandled Control Sequence (parsed: ESC[?2026h, raw: ESC[?2026h)
2025-10-10 08:13:01,582 [ 938613]   WARN - com.jediterm.terminal.emulator.JediEmulator - Unhandled Control Sequence (parsed: ESC[?2026l, raw: ESC[?2026l)
2025-10-10 08:13:01,618 [ 938649]   WARN - com.jediterm.terminal.emulator.JediEmulator - Unhandled Control Sequence (parsed: ESC[?2026h, raw: ESC[?2026h)
2025-10-10 08:13:01,619 [ 938650]   WARN - com.jediterm.terminal.emulator.JediEmulator - Unhandled Control Sequence (parsed: ESC[?2026l, raw: ESC[?2026l)
2025-10-10 08:13:04,971 [ 942002]   WARN - com.jediterm.terminal.emulator.JediEmulator - Unhandled Control Sequence (parsed: ESC[?2026h, raw: ESC[?2026h)
2025-10-10 08:13:04,973 [ 942004]   WARN - com.jediterm.terminal.emulator.JediEmulator - Unhandled Control Sequence (parsed: ESC[?2026l, raw: ESC[?2026l)
2025-10-10 08:13:05,363 [ 942394]   WARN - com.jediterm.terminal.emulator.JediEmulator - Unhandled Control Sequence (parsed: ESC[?2026h, raw: ESC[?2026h)
2025-10-10 08:13:05,365 [ 942396]   WARN - com.jediterm.terminal.emulator.JediEmulator - Unhandled Control Sequence (parsed: ESC[?2026l, raw: ESC[?2026l)
2025-10-10 08:13:05,397 [ 942428]   WARN - com.jediterm.terminal.emulator.JediEmulator - Unhandled Control Sequence (parsed: ESC[?2026h, raw: ESC[?2026h)
2025-10-10 08:13:05,398 [ 942429]   WARN - com.jediterm.terminal.emulator.JediEmulator - Unhandled Control Sequence (parsed: ESC[?2026l, raw: ESC[?2026l)
2025-10-10 08:13:07,695 [ 944726]   WARN - com.jediterm.terminal.emulator.JediEmulator - Unhandled Control Sequence (parsed: ESC[?2026h, raw: ESC[?2026h)
2025-10-10 08:13:07,697 [ 944728]   WARN - com.jediterm.terminal.emulator.JediEmulator - Unhandled Control Sequence (parsed: ESC[?2026l, raw: ESC[?2026l)
2025-10-10 08:13:07,861 [ 944892]   WARN - com.jediterm.terminal.emulator.JediEmulator - Unhandled Control Sequence (parsed: ESC[?2026h, raw: ESC[?2026h)
2025-10-10 08:13:07,862 [ 944893]   WARN - com.jediterm.terminal.emulator.JediEmulator - Unhandled Control Sequence (parsed: ESC[?2026l, raw: ESC[?2026l)
2025-10-10 08:13:08,585 [ 945616]   WARN - com.jediterm.terminal.emulator.JediEmulator - Unhandled Control Sequence (parsed: ESC[?2026h, raw: ESC[?2026h)
2025-10-10 08:13:08,586 [ 945617]   WARN - com.jediterm.terminal.emulator.JediEmulator - Unhandled Control Sequence (parsed: ESC[?2026l, raw: ESC[?2026l)
2025-10-10 08:13:08,855 [ 945886]   WARN - com.jediterm.terminal.emulator.JediEmulator - Unhandled Control Sequence (parsed: ESC[?2026h, raw: ESC[?2026h)
2025-10-10 08:13:08,856 [ 945887]   WARN - com.jediterm.terminal.emulator.JediEmulator - Unhandled Control Sequence (parsed: ESC[?2026l, raw: ESC[?2026l)
2025-10-10 08:13:08,896 [ 945927]   WARN - com.jediterm.terminal.emulator.JediEmulator - Unhandled Control Sequence (parsed: ESC[?2026h, raw: ESC[?2026h)
2025-10-10 08:13:08,897 [ 945928]   WARN - com.jediterm.terminal.emulator.JediEmulator - Unhandled Control Sequence (parsed: ESC[?2026l, raw: ESC[?2026l)
2025-10-10 08:13:11,024 [ 948055]   WARN - com.jediterm.terminal.emulator.JediEmulator - Unhandled Control Sequence (parsed: ESC[?2026h, raw: ESC[?2026h)
2025-10-10 08:13:11,026 [ 948057]   WARN - com.jediterm.terminal.emulator.JediEmulator - Unhandled Control Sequence (parsed: ESC[?2026l, raw: ESC[?2026l)
2025-10-10 08:13:11,526 [ 948557]   WARN - com.jediterm.terminal.emulator.JediEmulator - Unhandled Control Sequence (parsed: ESC[?2026h, raw: ESC[?2026h)
2025-10-10 08:13:11,528 [ 948559]   WARN - com.jediterm.terminal.emulator.JediEmulator - Unhandled Control Sequence (parsed: ESC[?2026l, raw: ESC[?2026l)
2025-10-10 08:13:11,609 [ 948640]   WARN - com.jediterm.terminal.emulator.JediEmulator - Unhandled Control Sequence (parsed: ESC[?2026h, raw: ESC[?2026h)
2025-10-10 08:13:11,611 [ 948642]   WARN - com.jediterm.terminal.emulator.JediEmulator - Unhandled Control Sequence (parsed: ESC[?2026l, raw: ESC[?2026l)
2025-10-10 08:13:11,685 [ 948716]   WARN - com.jediterm.terminal.emulator.JediEmulator - Unhandled Control Sequence (parsed: ESC[?2026h, raw: ESC[?2026h)

Steps to Reproduce

  1. Run claude in any JetBrains product terminal

Claude Model

None

Is this a regression?

No, this never worked

Last Working Version

_No response_

Claude Code Version

2.0.13

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

IntelliJ IDEA terminal

Additional Information

_No response_

View original on GitHub ↗

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