libghostty 1.0:把终端模拟器做成一块稳定地基
来源:mitchellh.com — 2026-11-08
📋 概述
Mitchell Hashimoto 宣布 libghostty-vt 1.0:从 Ghostty 核心里抽出来的可移植高性能终端模拟 C 库。1.0 的含义是库本身与 C ABI 都稳定了——一年前它还只是 Zig 模块、没有 C API、唯一的消费者是 Ghostty 自己。
🔑 核心要点
- JetBrains 全线 IDE 的终端已经换到 libghostty,按 JetBrains 自己的数据覆盖超过 1250 万活跃用户。
- Neovim 已批准用 libghostty-vt 替换 libvterm,顺带关掉了一个关于窗口缩放时滚动缓冲重排的十年老 issue。
- C API 现在是一个完整的终端模拟器,并且有强制执行的 ABI 稳定性策略,不再随 Ghostty 内部重构漂移。
- 作者用一年来的行业采用情况回答「为什么要做这个库」,而不是再讲一遍动机。
💡 金句
libghostty is a portable, high-performance C library for terminal emulation, extracted directly from the core of Ghostty.
👍 0
👎 0
← 返回 Hacker News 首页