Create

Sign in to ReadmeX

or

How we handle your data: Privacy Policy

ReadmeX

Your AI reading companion

What would you like to catch up on?

Pick a briefing, or ask your own question.

Your community and people briefings stay personal to you.

Story

JetBrains 2026.3 Terminal Adds libghostty and AI Agent Compatibility

AI summary

JetBrains plans to replace JediTerm with Ghostty’s libghostty in the redesigned IDE terminal starting with version 2026.3. The new engine will parse control sequences and manage terminal state while JetBrains retains rendering and IDE integration, adding Kitty keyboard protocol support and improved handling of sequences previously mishandled by JediTerm. libghostty is enabled by default in the 2026.3 Early Access Program, while some features such as local clipboard access and image display remain unfinished, according to iThome 台湾.

In-depth insight

The terminal update directly improves keyboard, display, and protocol compatibility for Claude Code, Codex, OpenCode, Neovim, and tmux inside JetBrains IDEs.

JetBrains旗下整合開發環境(IDE)從2026.3版起,將在重新設計的終端機中改用Ghostty的終端機模擬函式庫libghostty,取代多年使用的JediTerm。此次更新主要改善Claude Code、Codex等命令列AI程式代理,以及Neovim、tmux等工具在IDE內的操作相容性,包括鍵盤快捷鍵及畫面顯示問題。

JetBrains的IDE原本使用JediTerm處理終端機模擬工作,但隨著命令列工具開始採用新的終端機協定,JediTerm因缺乏相關支援,可能造成快捷鍵無法正常運作,或出現字元與色彩顯示異常。改採libghostty後,終端機控制序列的解析及狀態管理將交由新程式庫處理,畫面算繪及IDE整合功能則仍由JetBrains負責。

其中一項主要改善是支援Kitty鍵盤協定,讓終端機程式能區分Enter、Shift+Enter及Ctrl+Enter,也能辨識按鍵放開與重複按下等事件,例如開發者使用Claude Code或Codex輸入多行提示詞時,可以透過Shift+Enter換行,而不會直接送出尚未完成的內容。結合Ctrl、Shift或Alt的快捷鍵,也能正確傳遞給終端機應用程式。

新引擎能正確處理近50種JediTerm過去忽略或解析錯誤的控制序列,改善文字使用者介面(TUI)工具的顯示問題。過去部分程式以重複字元繪製線條時,可能出現字元缺漏,部分色彩指令也可能被錯誤顯示成文字。新版另外支援左右邊界、插入模式及滑鼠事件回報等功能。

新終端機也能配合IDE切換深色與淺色主題,支援相關協定的Claude Code、OpenCode、Neovim及tmux等工具,可在IDE主題變更時收到通知,其中多數能自動調整配色,減少終端機工具與IDE配色不一致的情況。

不過,libghostty雖然已能解析遠端程式要求將內容複製到本機剪貼簿、顯示桌面通知,以及在終端機中顯示圖片等相關指令,但JetBrains尚未完成IDE端的功能整合,因此目前還不能透過新終端機使用這些功能。新引擎已在2026.3搶先體驗版(EAP)的重新設計終端機中預設啟用,官方表示後續測試版及正式版也將採用。

#JetBrains#libghostty#JediTerm#Ghostty#Claude Code#Codex#OpenCode#Neovim#tmux

Original · 2 min readRead the original
Group chat

No comments yet. Start the conversation.