JetBrains IDE terminal switches to libghostty and now understands nearly 50 more commands
The terminal in JetBrains IDE 2026.3 has moved from the old JediTerm engine to libghostty, the library behind the Ghostty terminal. Programs send the terminal invisible control codes such as "draw a border" or "change color," and JediTerm failed to understand nearly 50 of them. As a result, Claude Code and Neovim drew broken borders and sent unfinished prompts. If you run agents inside the IDE, check input and colors after updating.
AI-processed from JetBrains AI; edited by Hamidun News
The built-in terminal in JetBrains IDE version 2026.3 has a new engine. Instead of JediTerm, which it relied on for many years, it now runs libghostty, a terminal emulation library from Ghostty, a popular modern terminal. To understand why this matters, consider how a program in a terminal communicates with the screen. It does not draw pixels itself. It sends invisible control codes such as "draw a border," "color the text green," or "Shift+Enter is a line break." JediTerm did not know or misread nearly 50 of these codes, so Claude Code, Codex, Neovim, and tmux inside the IDE looked and behaved differently than in standalone terminals. libghostty now handles this work.
Who Is Responsible for What
The division of labor is simple. libghostty parses the stream of codes from programs and maintains the terminal state: what is on screen, where the cursor is, and which colors are set. The IDE still handles rendering, along with higher-level features and integrations. According to JetBrains, the library is considered reliable and fast, which is why it was chosen over several alternatives.
Previously, the discrepancies seemed minor. They were not enough to file a bug report, but the feeling was that the terminal did not behave like others. Once AI agents and full-screen applications started running in the terminal, these small issues became noticeable.
What Changes in Practice
First, the keyboard. Terminal applications can now distinguish key combinations that used to be merged, and they can request key release and repeat events. CLI agents Claude Code, Codex, and Pi, the fish shell, and Neovim use this protocol. Support for the older xterm keyboard protocol, which Vim needs, has also been added. As a result, Shift+Enter in a prompt starts a new line instead of sending an unfinished message, and key combinations with modifiers reach the program intact. The old setting that adjusted this behavior manually is no longer needed and is ignored.
Second, the theme. Previously, programs had to guess whether your background was dark or light, and you could end up with dark text on a dark background. Now the terminal answers the "dark or light theme" query based on the current IDE theme and sends a notification when the theme switches (mode 2031). Claude Code, OpenCode, Pi, Neovim, and tmux subscribe to these notifications, so most of them change colors along with the IDE. The terminal also responds to OSC 4 palette queries and the Kitty OSC 21 color query. Programs can set extended colors from 16 to 255, while base colors 0 through 15 remain controlled by the IDE theme.
Third, rendering. The new engine handles nearly 50 control sequences that JediTerm skipped or interpreted incorrectly. For example, ncurses uses a special character repeat code for runs of seven or more identical characters, and previously this caused characters to disappear from lines. JediTerm printed colon-separated color sequences as text and merged the digits into an unrelated attribute. Unknown APC, SOS, and PM control strings used to print as garbage; now they are silently discarded. Cursor blinking is now respected: before, the cursor always blinked. According to JetBrains, the result is that lines, borders, and separators no longer break, and there are no stray colons or wrong colors.
What Comes Next and How to Roll Back
libghostty already parses several codes that the IDE does not yet act on: clipboard access via OSC 52, desktop notifications (OSC 9/777), ConEmu progress indicators, Kitty graphics, and colored underlines. The bottleneck is no longer parsing codes; it is on the IDE side, so JetBrains promises that these features will arrive faster than they did with JediTerm. In practice, this means copying to the local clipboard from a program on a remote server, a notification when an agent finishes a task and is waiting for you, a progress bar for long operations, and images displayed directly in the terminal. The article gives no timelines, so these are intentions, not promised releases.
The new engine is enabled by default in 2026.3 EAP builds and will remain so in Beta, Release Candidate, and the stable release. If something breaks, you can switch back to JediTerm using the terminal.use.ghostty.emulator setting. JetBrains asks users to report problems in the comments or through a bug report. The team also thanked Mitchell Hashimoto, Tim Culverhouse, and the other Ghostty authors for making the library reusable, and promised to contribute changes back.
The practical takeaway is simple: if you run Claude Code, Codex, or Neovim directly in the IDE terminal, check multi-line input and colors after updating to 2026.3. You will likely be able to remove manual workarounds.
- Dec 2, 2026Ai2 Releases MolmoWeb2 Web Agents: 27B Model Solves 75.3% of Tasks
- Dec 2, 202650 AI Models Beat 62 Teams at 'Zakovat': 48.3% Correct Answers vs 39.8%
- Dec 2, 2026Claude Fable 5.2 ran 1,000 agents for eight days and built an operating system
- Dec 2, 2026Amazon Releases Ergo Open Weights for Coding: 1.1 Trillion Parameters and 2,200 Tokens per Second
Key Questions Answered
Who Is Responsible for What?
The division of labor is simple. libghostty parses the stream of codes from programs and maintains the terminal state: what is on screen, where the cursor is, and which colors are set. The IDE still handles rendering, along with higher-level features and integrations. According to JetBrains, the library is considered reliable and fast, which is why it was chosen over several alternatives. Previously, the discrepancies seemed minor.
What Changes in Practice?
First, the keyboard. Terminal applications can now distinguish key combinations that used to be merged, and they can request key release and repeat events. CLI agents Claude Code, Codex, and Pi, the fish shell, and Neovim use this protocol. Support for the older xterm keyboard protocol, which Vim needs, has also been added. As a result, Shift+Enter in a prompt starts a new line instead of sending an unfinished message, and key combinations with modifiers reach the program intact.
What Comes Next and How to Roll Back?
libghostty already parses several codes that the IDE does not yet act on: clipboard access via OSC 52, desktop notifications (OSC 9/777), ConEmu progress indicators, Kitty graphics, and colored underlines. The bottleneck is no longer parsing codes; it is on the IDE side, so JetBrains promises that these features will arrive faster than they did with JediTerm.
Free 2-Day Vibecoding & AI Agents Intensive
Day 1: the autonomous Hermes + DeepSeek AI agent — vibecoding and development on par with Claude Code / Codex / Gemini. Led by Jemal Hamidun, Head of AI at Alpina Digital and academic supervisor at MIPT. Right after you register with our bot Nika: the recording + 11 materials from the previous intensive.
Daily 60-sec AI Voice Brief + Weekly Production AI Agent Playbook
Listen to a 60-second AI news brief every morning and get a weekly hands-on playbook for shipping AI agents to production — tools, MCP servers and patterns that work. Curated by Jemal Hamidun, Head of AI at Alpina Digital.
